From 49ba44e765f46fa747b69640e09ceb9303f53b09 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Mon, 4 Dec 2017 09:17:28 +0000 Subject: [PATCH] Fix format string warning with enabled DEBUGGING. MFC after: 1 week --- contrib/bsnmp/snmpd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bsnmp/snmpd/config.c b/contrib/bsnmp/snmpd/config.c index 231aeb58b92f..fd07bab481e6 100644 --- a/contrib/bsnmp/snmpd/config.c +++ b/contrib/bsnmp/snmpd/config.c @@ -663,7 +663,7 @@ gettoken() printf("(EOL)"); break; case TOK_NUM: - printf("(NUM %llu)", numval); + printf("(NUM %ju)", (uintmax_t)numval); break; case TOK_STR: printf("(STR %.*s)", (int)strvallen, strval);