diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-04-30 06:24:35 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-04-30 06:24:35 +0000 |
commit | 4e730bc8ac99a25896bcb74456904d62c559bdba (patch) | |
tree | cc21d61462f644d4a220a6de8b6ec08fdcef0fb1 /packet-cops.c | |
parent | 87f79212c76723847d3ffead579422a65b6f7cc9 (diff) |
MSVC warnings removed
svn path=/trunk/; revision=10738
Diffstat (limited to 'packet-cops.c')
-rw-r--r-- | packet-cops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-cops.c b/packet-cops.c index af618f7236..ac3231fd6f 100644 --- a/packet-cops.c +++ b/packet-cops.c @@ -13,7 +13,7 @@ * * Implemented in ethereal at April 7-8, 2004 * - * $Id: packet-cops.c,v 1.45 2004/04/25 04:01:12 guy Exp $ + * $Id: packet-cops.c,v 1.46 2004/04/30 06:24:35 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2134,8 +2134,9 @@ void info_to_display(tvbuff_t *tvb, proto_item *stt, int offset, int octets, cha } /* Ieee float format */ if (mode==FMT_FLT) { + /* XXX - use proto_tree_add_float_format instead? */ proto_tree_add_uint_format(stt, *hf_proto_parameter,tvb, offset, octets, - codefl,"%-28s : %.10g",str,codefl); + (guint32) codefl,"%-28s : %.10g",str,codefl); break; } /* Print a 32 bits integer */ |