From Vincent Helfre:
Bug in tvb_get_bits32(), The last bitshift is too large, which causes the least significant bits to be 0 all the time. svn path=/trunk/; revision=35015
This commit is contained in:
parent
cce1bef672
commit
ab16d07fd3
|
@ -1712,7 +1712,7 @@ tvb_get_bits32(tvbuff_t *tvb, gint bit_offset, const gint no_of_bits, const gboo
|
|||
}
|
||||
else
|
||||
{
|
||||
tempval = tempval >> (8 - shift);
|
||||
tempval = tempval >> (- shift);
|
||||
}
|
||||
value = value | tempval;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue