aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2012-12-21 13:17:20 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2012-12-21 13:17:20 +0000
commit67f86530b18d36d6b619eb2d8b3e63ba5762460e (patch)
tree4bf79f8883e9bd296e27e6addf7463a5e84ec6cd /text2pcap.c
parent2dcbad6126aca746cbacd73b826549a2224d1ab5 (diff)
Address a build issue on Windows.
svn path=/trunk/; revision=46669
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c4
1 files 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;