aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@wireshark.org>2014-08-30 20:38:33 +0200
committerMichael Tüxen <tuexen@wireshark.org>2014-08-30 18:42:17 +0000
commit0d7c4fd5ee2097101cbec5275519b78bdb40380e (patch)
tree6065649f606966ed0ed33669b39f4126502e17a0
parent2eced3689d809e6a80a4d00a6bebd8b481e5ebc9 (diff)
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>
-rw-r--r--epan/dissectors/packet-hdfsdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hdfsdata.c b/epan/dissectors/packet-hdfsdata.c
index c0b87b8423..46cec622c3 100644
--- a/epan/dissectors/packet-hdfsdata.c
+++ b/epan/dissectors/packet-hdfsdata.c
@@ -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) {