From 3c2d2592062cfbeab5e6be2bc0b3e534bf9da92b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 31 Oct 2015 10:26:06 -0700 Subject: [PATCH] We need PRIu64 to print a uint64_t. --- print-zeromq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print-zeromq.c b/print-zeromq.c index e1410674..92917ed4 100644 --- a/print-zeromq.c +++ b/print-zeromq.c @@ -86,7 +86,7 @@ zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) if (cp[0] != 0xFF) { header_len = 1; /* length */ body_len_declared = cp[0]; - ND_PRINT((ndo, " frame flags+body (8-bit) length %u", body_len_declared)); + ND_PRINT((ndo, " frame flags+body (8-bit) length %" PRIu64 "u", body_len_declared)); } else { header_len = 1 + 8; /* 0xFF, length */ ND_PRINT((ndo, " frame flags+body (64-bit) length")); -- 2.39.5