forked from osmocom/wireshark
Fix char signess issue.
This bug was found by compiling wireshark on a Wandboard Quad using FreeBSD. Change-Id: I34ac8a04612a918782160947599245539d6e9427 Reviewed-on: https://code.wireshark.org/review/3923 Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
This commit is contained in:
parent
2eced3689d
commit
0d7c4fd5ee
|
@ -115,7 +115,7 @@ static dissector_handle_t hdfsdata_handle;
|
|||
value is the first byte of the vint/vlong
|
||||
returns the total number of bytes (1 to 9) */
|
||||
static int
|
||||
decode_vint_size (char value) {
|
||||
decode_vint_size (gint8 value) {
|
||||
if (value >= -112) {
|
||||
return 1;
|
||||
} else if (value < -120) {
|
||||
|
|
Loading…
Reference in New Issue