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:
Michael Tüxen 2014-08-30 20:38:33 +02:00
parent 2eced3689d
commit 0d7c4fd5ee
1 changed files with 1 additions and 1 deletions

View File

@ -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) {