aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-12-22 15:31:42 +0000
committerBill Meier <wmeier@newsguy.com>2013-12-22 15:31:42 +0000
commit523abb73f8279b95c6c51b10c3a54d1b71a25064 (patch)
treecf4f9ef158dd608e7cdb15e380d852bb831f243b /text2pcap.c
parente73a97a46825074b98283f16e22a19234a525559 (diff)
'L' constant modifier not needed.
svn path=/trunk/; revision=54362
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 7a89b5ee38..2245edbc94 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -807,7 +807,7 @@ write_current_packet(gboolean cont)
HDR_SCTP.dest_port = g_htons(hdr_sctp_dest);
HDR_SCTP.tag = g_htonl(hdr_sctp_tag);
HDR_SCTP.checksum = g_htonl(0);
- HDR_SCTP.checksum = crc32c((guint8 *)&HDR_SCTP, sizeof(HDR_SCTP), ~0L);
+ HDR_SCTP.checksum = crc32c((guint8 *)&HDR_SCTP, sizeof(HDR_SCTP), ~0);
if (hdr_data_chunk) {
HDR_SCTP.checksum = crc32c((guint8 *)&HDR_DATA_CHUNK, sizeof(HDR_DATA_CHUNK), HDR_SCTP.checksum);
HDR_SCTP.checksum = crc32c((guint8 *)packet_buf + header_length, length - header_length, HDR_SCTP.checksum);