aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ranap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-13 20:42:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-13 20:42:13 +0000
commit6507c634a857df1ed7b85dae0288c1a0fc65a544 (patch)
tree3e32047e97db607fa05f496652274b9f8502a524 /packet-ranap.c
parente4f91fadc22756d59b71acd52d645fa45aee81a4 (diff)
Squelch a "signed vs. unsigned comparison" warning (which warned of a
real problem, if "byte_span" were 0 - that would only happen if "bitoffset" and "bitlength" were both 0, and "bitlength" should never be 0). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3929 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ranap.c')
-rw-r--r--packet-ranap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ranap.c b/packet-ranap.c
index 8ba191296d..f7a99a0b4b 100644
--- a/packet-ranap.c
+++ b/packet-ranap.c
@@ -3,7 +3,7 @@
* Based on 3GPP TS 25.413 V3.4.0
* Copyright 2001, Martin Held <Martin.Held@icn.siemens.de>
*
- * $Id: packet-ranap.c,v 1.6 2001/06/18 02:17:51 guy Exp $
+ * $Id: packet-ranap.c,v 1.7 2001/09/13 20:42:13 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1110,7 +1110,7 @@ proto_tree_add_bitstring(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint offs
guint8 bitstr[128];
char buf[256] = "\0";
header_field_info *hf_info_p;
- guint byte_span;
+ gint byte_span;
gint initial_offset = offset;
memset(bitstr, 0, 128);