diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-24 03:04:51 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-24 03:04:51 +0000 |
commit | ee8ad8944dde82143b324c40354e77be41365021 (patch) | |
tree | 92ca42385e51616af71b8e4ee5364682d7604249 /packet-rsvp.c | |
parent | 339bcd0f0477b3609e6db22af8b68c5c6e34b55b (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".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6489 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r-- | packet-rsvp.c | 6 |
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, |