aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sctp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-02-09 23:35:28 +0000
committerBill Meier <wmeier@newsguy.com>2008-02-09 23:35:28 +0000
commitbad9f18d338ee74dfa0d3c36c91c5929413f6348 (patch)
tree226455a81e5ba87b7155a8fe55c4d550babf1177 /epan/dissectors/packet-sctp.c
parentaa3c4cafbceb0ccb59bb620203bec47dc3385b0a (diff)
Fix (Sun) compiler warnings as reported by David Kirkby: Part 1
svn path=/trunk/; revision=24295
Diffstat (limited to 'epan/dissectors/packet-sctp.c')
-rw-r--r--epan/dissectors/packet-sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c
index a72269ed2e..533f9d51ce 100644
--- a/epan/dissectors/packet-sctp.c
+++ b/epan/dissectors/packet-sctp.c
@@ -504,7 +504,7 @@ static guint32
sctp_crc32c(const unsigned char* buf, unsigned int len)
{
unsigned int i;
- guint32 crc32 = ~0L;
+ guint32 crc32 = ~0U;
guint32 result;
unsigned char byte0,byte1,byte2,byte3;