aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-02-05 02:47:31 +0000
committerGuy Harris <guy@alum.mit.edu>2001-02-05 02:47:31 +0000
commit60ce2f6158217e56240d20e765a497b9e3dffdb5 (patch)
tree456b2e8d72be58a4808c6696489469506466390d /packet-vtp.c
parent39d2be965be50f0fec8048e44450862643787042 (diff)
downloadwireshark-60ce2f6158217e56240d20e765a497b9e3dffdb5.tar.gz
wireshark-60ce2f6158217e56240d20e765a497b9e3dffdb5.tar.bz2
wireshark-60ce2f6158217e56240d20e765a497b9e3dffdb5.zip
Fix up some MSVC complaints about (narrowing) type conversions by
widening formal arguments or narrowing variables passed as actual arguments. svn path=/trunk/; revision=2993
Diffstat (limited to 'packet-vtp.c')
-rw-r--r--packet-vtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-vtp.c b/packet-vtp.c
index 78cc6670f6..460698b0f3 100644
--- a/packet-vtp.c
+++ b/packet-vtp.c
@@ -1,7 +1,7 @@
/* packet-vtp.c
* Routines for the disassembly of Cisco's Virtual Trunking Protocol
*
- * $Id: packet-vtp.c,v 1.11 2001/01/22 03:33:45 guy Exp $
+ * $Id: packet-vtp.c,v 1.12 2001/02/05 02:47:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -269,7 +269,7 @@ dissect_vlan_info(tvbuff_t *tvb, int offset, proto_tree *tree)
int vlan_info_left;
guint8 status;
guint8 vlan_name_len;
- guint16 type;
+ guint8 type;
int length;
char *type_str;
proto_tree *tlv_tree;