From 7204ebf6ccb7b5b2d12a5c5f2b100dd5168b0796 Mon Sep 17 00:00:00 2001 From: ulfl Date: Thu, 11 Dec 2003 21:23:37 +0000 Subject: =?UTF-8?q?prevent=20MSVC=20warning:=20"warning=20C4761:=20Gr?= =?UTF-8?q?=EF=BF=BD=EF=BF=BDenkonflikt=20im=20Argument.=20Konvertierung?= =?UTF-8?q?=20vorgenommen"=20->=20size=20conflict=20in=20argument,=20conve?= =?UTF-8?q?rsion=20done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9244 f5534014-38df-0310-8fa8-9805f1628bb7 --- plugins/docsis/packet-tlv.c | 6 +++--- plugins/docsis/packet-vendor.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/docsis') 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 * - * $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 @@ -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 * - * $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 @@ -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)"); -- cgit v1.2.3