aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-11 21:23:37 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-11 21:23:37 +0000
commit7204ebf6ccb7b5b2d12a5c5f2b100dd5168b0796 (patch)
treefb84266ca65361a8ca29f29daffb1e7fd1217b12 /plugins/docsis
parent0bde2fb4f829a461849b22caba99f0e5dd79746b (diff)
prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9244 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/docsis')
-rw-r--r--plugins/docsis/packet-tlv.c6
-rw-r--r--plugins/docsis/packet-vendor.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/docsis/packet-tlv.c b/plugins/docsis/packet-tlv.c
index 2992391d7b..d39b7d9a88 100644
--- a/plugins/docsis/packet-tlv.c
+++ b/plugins/docsis/packet-tlv.c
@@ -2,7 +2,7 @@
* Routines to Dissect Appendix C TLV's
* Copyright 2002, Anand V. Narwani <anand[AT]narwani.org>
*
- * $Id: packet-tlv.c,v 1.13 2003/10/05 22:38:09 jmayer Exp $
+ * $Id: packet-tlv.c,v 1.14 2003/12/11 21:23:37 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -955,9 +955,9 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, guint16 start, guint16 len,
break;
default:
if (direction == 24)
- dissect_upstream_sflow (tvb, sflow_tree, pos - 2, length);
+ dissect_upstream_sflow (tvb, sflow_tree, (guint16) (pos - 2), length);
else
- dissect_downstream_sflow (tvb, sflow_tree, pos - 2, length);
+ dissect_downstream_sflow (tvb, sflow_tree, (guint16) (pos - 2), length);
break;
} /* switch (type) */
diff --git a/plugins/docsis/packet-vendor.c b/plugins/docsis/packet-vendor.c
index 72cbdd536b..c66747e4c6 100644
--- a/plugins/docsis/packet-vendor.c
+++ b/plugins/docsis/packet-vendor.c
@@ -2,7 +2,7 @@
* Routines for Vendor Specific Encodings dissection
* Copyright 2002, Anand V. Narwani <anand[AT]narwani.org>
*
- * $Id: packet-vendor.c,v 1.3 2003/07/19 02:11:34 guy Exp $
+ * $Id: packet-vendor.c,v 1.4 2003/12/11 21:23:37 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -144,7 +144,7 @@ dissect_vsif (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree)
{
case VENDOR_CISCO:
proto_item_append_text (it, " (Cisco)");
- dissect_cisco (tvb, vsif_tree, vsif_len);
+ dissect_cisco (tvb, vsif_tree, (guint8) vsif_len);
break;
default:
proto_item_append_text (it, " (Unknown)");