forked from osmocom/wireshark
Don't use 'L' as a constant modifier.
svn path=/trunk/; revision=54343
This commit is contained in:
parent
ad0c90e2a9
commit
026fae3855
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue