summaryrefslogtreecommitdiffstats
path: root/test/tconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tconfig.c')
-rw-r--r--test/tconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tconfig.c b/test/tconfig.c
index 6c1321a..3ae26c2 100644
--- a/test/tconfig.c
+++ b/test/tconfig.c
@@ -42,8 +42,8 @@
/* Needs this extra step so that we can print the macro name. */
#define vrfy_macrosize(type, macro, macroname) \
if (sizeof(type) != macro) \
- TestErrPrintf("Error: sizeof(%s) is %d but %s is %d\n", \
- #type, (int)sizeof(type), macroname, (int)macro);
+ TestErrPrintf("Error: sizeof(%s) is %zu but %s is %d\n", \
+ #type, sizeof(type), macroname, (int)macro);
/* local routine prototypes */
void test_config_ctypes(void);