aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-12-21 21:42:18 +0000
committerBill Meier <wmeier@newsguy.com>2013-12-21 21:42:18 +0000
commit026fae3855f650ba225dfd17c4ea80d9a84a6c94 (patch)
tree6826ca7c31ca53f082513886b9910e45d6b9a54c /epan/dissectors
parentad0c90e2a937c01a26867ad683b8bd693006a7e1 (diff)
Don't use 'L' as a constant modifier.
svn path=/trunk/; revision=54343
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-per.c2
-rw-r--r--epan/dissectors/packet-sctp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-per.c b/epan/dissectors/packet-per.c
index cdc5e449e9..01fa516c09 100644
--- a/epan/dissectors/packet-per.c
+++ b/epan/dissectors/packet-per.c
@@ -1915,7 +1915,7 @@ DEBUG_ENTRY("dissect_per_sequence");
guint32 extension_index;
guint32 k;
- if(!((1L<<(num_extensions-1-i))&extension_mask)){
+ if(!((1U<<(num_extensions-1-i))&extension_mask)){
/* this extension is not encoded in this PDU */
continue;
}
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c
index 0282fe465a..74b28fd3cf 100644
--- a/epan/dissectors/packet-sctp.c
+++ b/epan/dissectors/packet-sctp.c
@@ -756,7 +756,7 @@ static gpointer sctp_ppi_value2(packet_info *pinfo)
static unsigned int
sctp_adler32(const unsigned char *buf, unsigned int len)
{
- guint32 result = 1L;
+ guint32 result = 1;
result = update_adler32(result, buf, SOURCE_PORT_LENGTH + DESTINATION_PORT_LENGTH + VERIFICATION_TAG_LENGTH);
/* handle four 0 bytes as checksum */