aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ranap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-09-13 20:42:13 +0000
committerGuy Harris <guy@alum.mit.edu>2001-09-13 20:42:13 +0000
commit8822f3f7025fd3dfb6713c0411266e911de32f18 (patch)
tree3e32047e97db607fa05f496652274b9f8502a524 /packet-ranap.c
parenteb63c37b0e30dff280f0ac7d8f26ae5072f98805 (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). svn path=/trunk/; revision=3929
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);