diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2003-12-11 21:23:37 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2003-12-11 21:23:37 +0000 |
commit | 10e3320115a0fd419829016e29a62ca806081878 (patch) | |
tree | fb84266ca65361a8ca29f29daffb1e7fd1217b12 /packet-afp.c | |
parent | 95ea01a41ad9ca8a1b3514c1bef8a69141721bf0 (diff) | |
download | wireshark-10e3320115a0fd419829016e29a62ca806081878.tar.gz wireshark-10e3320115a0fd419829016e29a62ca806081878.tar.bz2 wireshark-10e3320115a0fd419829016e29a62ca806081878.zip |
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 'packet-afp.c')
-rw-r--r-- | packet-afp.c | 6 |
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; |