forked from osmocom/wireshark
Third time lucky, hopefully fix the last of the compiler warnings...
svn path=/trunk/; revision=49460
This commit is contained in:
parent
148d363586
commit
0a0b6bf6c2
|
@ -4448,7 +4448,7 @@ static void twos_complement (gint64 *v, guint8 bit_len)
|
|||
i = 1 << (bit_len - 1);
|
||||
to_stuff = *v & i;
|
||||
i = 0L;
|
||||
if (to_stuff) i = 0xffffffffffffffffL << bit_len;
|
||||
if (to_stuff) i = G_GINT64_CONSTANT(0xffffffffffffffff) << bit_len;
|
||||
*v = *v | i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue