From 3d9d54c7930201515169f15c0202a0c314427cd4 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Mon, 22 Jul 2013 11:28:33 +0930 Subject: [PATCH] Fix last warning about integer size format --- conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.c b/conf.c index 818b13be..f4d5726c 100644 --- a/conf.c +++ b/conf.c @@ -84,7 +84,7 @@ static int reload(const char *path, int *resultp) if (meta.mtime == -1) { WARNF("config file %s does not exist -- using all defaults", path); } else if (meta.size > CONFIG_FILE_MAX_SIZE) { - WHYF("config file %s is too big (%zu bytes exceeds limit %d)", path, meta.size, CONFIG_FILE_MAX_SIZE); + WHYF("config file %s is too big (%ju bytes exceeds limit %d)", path, (uintmax_t)meta.size, CONFIG_FILE_MAX_SIZE); return -1; } else if (meta.size <= 0) { WARNF("config file %s is zero size -- using all defaults", path);