aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-24 03:04:51 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-24 03:04:51 +0000
commit24a1312102c16ebdc739f7920eaa8e8db09576fa (patch)
tree92ca42385e51616af71b8e4ee5364682d7604249 /packet-rsvp.c
parent3266b0bb1478e92eae95f292f07f0e0b72997058 (diff)
Don't use "unsigned long" to mean "32-bit unsigned integer", as it's not
32 bits on all platforms - it's 64 bits on some platforms. Use "guint32" instead. The same applies for "unsigned short" and "guint16". svn path=/trunk/; revision=6489
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r--packet-rsvp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c
index 9986daf1bc..848b1fd499 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.76 2002/10/23 20:50:22 ashokn Exp $
+ * $Id: packet-rsvp.c,v 1.77 2002/10/24 03:04:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2483,8 +2483,8 @@ dissect_rsvp_label_request (proto_tree *ti, tvbuff_t *tvb,
}
case 3: {
- unsigned short l3pid = tvb_get_ntohs(tvb, offset2+2);
- unsigned long min_dlci, max_dlci, dlci_len, dlci_len_code;
+ guint16 l3pid = tvb_get_ntohs(tvb, offset2+2);
+ guint32 min_dlci, max_dlci, dlci_len, dlci_len_code;
proto_tree_add_text(rsvp_object_tree, tvb, offset+3, 1,
"C-type: 2 (Label Request with ATM label Range)");
proto_tree_add_text(rsvp_object_tree, tvb, offset2+2, 2,