aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-assa_r3.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-07-11 18:43:30 +0000
committerBill Meier <wmeier@newsguy.com>2012-07-11 18:43:30 +0000
commit59e9b969e9aac2ac4030dd758088877117f26f34 (patch)
treee7c434b40d477544d16c82ca64628940fb6be2e2 /epan/dissectors/packet-assa_r3.c
parent85504b052f7212aff7f99b167e0c8da9d638409e (diff)
Fix [-Werror=sign-compare] compiler warning
svn path=/trunk/; revision=43666
Diffstat (limited to 'epan/dissectors/packet-assa_r3.c')
-rw-r--r--epan/dissectors/packet-assa_r3.c4
1 files changed, 2 insertions, 2 deletions
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