From eb3a8d1ff30129e5244e1a7d9d77b651805f8413 Mon Sep 17 00:00:00 2001 From: jmayer Date: Fri, 1 Oct 2004 12:35:55 +0000 Subject: [PATCH] initializing unsigned variables to -1 is considered interesting git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12173 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-bootp.c | 6 +++--- epan/dissectors/packet-dhcpv6.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index 1fbcd3c738..88e8afeb07 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -75,9 +75,9 @@ static int hf_bootp_cookie = -1; static int hf_bootp_vendor = -1; static int hf_bootp_dhcp = -1; -static guint ett_bootp = -1; -static guint ett_bootp_flags = -1; -static guint ett_bootp_option = -1; +static gint ett_bootp = -1; +static gint ett_bootp_flags = -1; +static gint ett_bootp_option = -1; gboolean novell_string = FALSE; diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c index 955b0507b4..d4c9db1090 100644 --- a/epan/dissectors/packet-dhcpv6.c +++ b/epan/dissectors/packet-dhcpv6.c @@ -48,8 +48,8 @@ static int proto_dhcpv6 = -1; static int hf_dhcpv6_msgtype = -1; -static guint ett_dhcpv6 = -1; -static guint ett_dhcpv6_option = -1; +static gint ett_dhcpv6 = -1; +static gint ett_dhcpv6_option = -1; #define UDP_PORT_DHCPV6_DOWNSTREAM 546 #define UDP_PORT_DHCPV6_UPSTREAM 547 -- 2.34.1