diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-11 16:07:40 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-11 16:07:40 +0000 |
commit | df5f3b52ceb29d5be3feb40180c7f22ea2f60728 (patch) | |
tree | e29dd8bd7f4564dbe972c635beb07e8d18d9c31a | |
parent | 3ae12aa496335f6bb59374c800788cf1378cfd72 (diff) |
Have proto_tree_set_boolean() call proto_tree_set_uint() so that
bit shifting is handled correctly.
svn path=/trunk/; revision=1829
-rw-r--r-- | proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* proto.c * Routines for protocol tree * - * $Id: proto.c,v 1.60 2000/04/04 17:07:07 gram Exp $ + * $Id: proto.c,v 1.61 2000/04/11 16:07:40 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -738,7 +738,7 @@ proto_tree_add_boolean_format(proto_tree *tree, int hfindex, gint start, gint le static void proto_tree_set_boolean(field_info *fi, guint32 value) { - fi->value.numeric = value; + proto_tree_set_uint(fi, value); } /* Add a FT_DOUBLE to a proto_tree */ |