X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1a9542cfd1f59a329e8cb32fb1737e7c8a11ecd2..51cb49b21dcad1a112ff25e62e5e67dbd28f33b8:/print-sctp.c?ds=sidebyside diff --git a/print-sctp.c b/print-sctp.c index b5923ea6..ad0f7851 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -467,8 +467,8 @@ sctp_print(netdissect_options *ndo, ndo->ndo_protocol = "sctp"; if (sctpPacketLength < sizeof(struct sctpHeader)) { - ND_PRINT("truncated-sctp - %ld bytes missing!", - (long)(sizeof(struct sctpHeader) - sctpPacketLength)); + ND_PRINT("truncated-sctp - %zu bytes missing!", + sizeof(struct sctpHeader) - sctpPacketLength); return; } sctpPktHdr = (const struct sctpHeader*) bp;