aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vtp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-02-05 02:47:31 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-02-05 02:47:31 +0000
commit630962f9899b802c3f872dadc4078cfcb43fe609 (patch)
tree456b2e8d72be58a4808c6696489469506466390d /packet-vtp.c
parente80e3906f2cd8ea82ff10b2a8baf07fa24543f99 (diff)
Fix up some MSVC complaints about (narrowing) type conversions by
widening formal arguments or narrowing variables passed as actual arguments. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2993 f5534014-38df-0310-8fa8-9805f1628bb7
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;