From 8822f3f7025fd3dfb6713c0411266e911de32f18 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 13 Sep 2001 20:42:13 +0000 Subject: 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 --- packet-ranap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-ranap.c') 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 * - * $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 @@ -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); -- cgit v1.2.3