Fix last warning about integer size format

This commit is contained in:
Jeremy Lakeman 2013-07-22 11:28:33 +09:30
parent 6645feb0d8
commit 3d9d54c793

2
conf.c
View File

@ -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);