From 67f86530b18d36d6b619eb2d8b3e63ba5762460e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=BCxen?= Date: Fri, 21 Dec 2012 13:17:20 +0000 Subject: [PATCH] Address a build issue on Windows. svn path=/trunk/; revision=46669 --- text2pcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;