]> The Tcpdump Group git mirrors - tcpdump/commitdiff
We need PRIu64 to print a uint64_t.
authorGuy Harris <[email protected]>
Sat, 31 Oct 2015 17:26:06 +0000 (10:26 -0700)
committerGuy Harris <[email protected]>
Sat, 31 Oct 2015 17:26:06 +0000 (10:26 -0700)
print-zeromq.c

index e14106749af9ed01d6ab2f8242bdbcba0ea4ffb9..92917ed414897a49fc5f0727eea78c5dc6130fb8 100644 (file)
@@ -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"));