From: Guy Harris Date: Sat, 31 Oct 2015 17:26:06 +0000 (-0700) Subject: We need PRIu64 to print a uint64_t. X-Git-Tag: tcpdump-4.8.0~85 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/3c2d2592062cfbeab5e6be2bc0b3e534bf9da92b We need PRIu64 to print a uint64_t. --- 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"));