aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-10-26 18:28:17 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-10-26 18:28:17 +0000
commit82c946ad85c1f801dd4f20a9078d91c584419c9a (patch)
treea82726e3867914409cfb8883ca39d8c99418dd0f /packet-rsvp.c
parent9f3d968087691b428769584552ba1b2706a09631 (diff)
Fix the rest of the signed/unsigned comparison warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4088 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r--packet-rsvp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c
index 842af9ee94..660f84a240 100644
--- a/packet-rsvp.c
+++ b/packet-rsvp.c
@@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-rsvp.c,v 1.46 2001/06/26 20:50:30 guy Exp $
+ * $Id: packet-rsvp.c,v 1.47 2001/10/26 18:28:16 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -700,7 +700,7 @@ dissect_rsvp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset+1, 1, 1);
}
cksum = tvb_get_ntohs(tvb, offset+2);
- if (!pinfo->fragmented && tvb_length(tvb) >= msg_length) {
+ if (!pinfo->fragmented && (int) tvb_length(tvb) >= msg_length) {
/* The packet isn't part of a fragmented datagram and isn't
truncated, so we can checksum it. */
cksum_vec[0].ptr = tvb_get_ptr(tvb, 0, msg_length);