aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afp.c
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 /packet-afp.c
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 'packet-afp.c')
-rw-r--r--packet-afp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-afp.c b/packet-afp.c
index 5687409f8f..4e426f1449 100644
--- a/packet-afp.c
+++ b/packet-afp.c
@@ -2,7 +2,7 @@
* Routines for afp packet dissection
* Copyright 2002, Didier Gautheron <dgautheron@magic.fr>
*
- * $Id: packet-afp.c,v 1.33 2003/12/08 20:36:40 guy Exp $
+ * $Id: packet-afp.c,v 1.34 2003/12/11 21:23:36 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1779,7 +1779,7 @@ dissect_query_afp_open_fork(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
static gint
dissect_reply_afp_open_fork(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset)
{
- int f_bitmap;
+ guint16 f_bitmap;
f_bitmap = decode_file_bitmap(tree, tvb, offset);
offset += 2;
@@ -1980,7 +1980,7 @@ catsearch_spec(tvbuff_t *tvb, proto_tree *ptree, gint offset, int ext, guint32 b
PAD(1);
}
- offset = parse_file_bitmap(tree, tvb, offset, bitmap,0);
+ offset = parse_file_bitmap(tree, tvb, offset, (guint16) bitmap,0);
offset = org +size;
return offset;