diff --git a/text2pcap.c b/text2pcap.c index 13b2afdff9..585d109018 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -555,10 +555,10 @@ finalize_crc32c(guint32 crc32) return ( result ); } -static unsigned long +static guint16 number_of_padding_bytes (unsigned long length) { - unsigned long remainder; + guint16 remainder; remainder = length % 4;