From 59e9b969e9aac2ac4030dd758088877117f26f34 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Wed, 11 Jul 2012 18:43:30 +0000 Subject: Fix [-Werror=sign-compare] compiler warning svn path=/trunk/; revision=43666 --- epan/dissectors/packet-assa_r3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-assa_r3.c') diff --git a/epan/dissectors/packet-assa_r3.c b/epan/dissectors/packet-assa_r3.c index f1e9ad90b4..550f44c883 100644 --- a/epan/dissectors/packet-assa_r3.c +++ b/epan/dissectors/packet-assa_r3.c @@ -9782,7 +9782,7 @@ static int dissect_r3_packet (tvbuff_t *tvb, packet_info *pinfo, proto_tree *r3_ proto_item *payload_item = NULL; proto_tree *payload_tree = NULL; guint offset = 0; - guint packetLen; + guint32 packetLen; guint octConsumed; if (tvb_strneql (tvb, 0, "~~~ds", 5) == 0) @@ -9857,7 +9857,7 @@ static int dissect_r3_packet (tvbuff_t *tvb, packet_info *pinfo, proto_tree *r3_ PROTO_ITEM_SET_GENERATED (tmp_item); } - if ((packetLen ^ 0xff) == (int)packetXor) + if ((packetLen ^ 0xff) == packetXor) proto_tree_add_uint_format (tail_tree, hf_r3_xor, tvb, offset + 2, 1, packetXor, "XOR: 0x%02x (correct)", packetXor); else -- cgit v1.2.3