From 163e7046cbd31054c45d6a2ccb405461c511fcae Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 9 Dec 2016 10:52:02 +0000 Subject: [PATCH] printf arguments more portable. git-svn-id: file:///svn/unbound/trunk@3960 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/locks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/locks.h b/util/locks.h index f9a9eed9e..6f6c13e58 100644 --- a/util/locks.h +++ b/util/locks.h @@ -163,7 +163,7 @@ Wrapper for set up thread stack size */ LOCKRET(pthread_attr_setstacksize(&attr, stackrequired)); \ LOCKRET(pthread_create(thr, &attr, func, arg)); \ LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \ - verbose(VERB_ALGO, "Thread stack size set to %zu", stacksize); \ + verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \ } else {LOCKRET(pthread_create(thr, NULL, func, arg));} \ } while(0) /** Use wrapper for set thread stack size on attributes. */