From df5f3b52ceb29d5be3feb40180c7f22ea2f60728 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Tue, 11 Apr 2000 16:07:40 +0000 Subject: Have proto_tree_set_boolean() call proto_tree_set_uint() so that bit shifting is handled correctly. svn path=/trunk/; revision=1829 --- proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto.c b/proto.c index e8d18c5bd0..d71193a125 100644 --- a/proto.c +++ b/proto.c @@ -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 @@ -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 */ -- cgit v1.2.3