summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-sctp.c4
1 files changed, 2 insertions, 2 deletions
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;