aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
committerUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
commit10e3320115a0fd419829016e29a62ca806081878 (patch)
treefb84266ca65361a8ca29f29daffb1e7fd1217b12 /plugins
parent95ea01a41ad9ca8a1b3514c1bef8a69141721bf0 (diff)
prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
Diffstat (limited to 'plugins')
-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)");