initializing unsigned variables to -1 is considered interesting
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 1 Oct 2004 12:35:55 +0000 (12:35 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 1 Oct 2004 12:35:55 +0000 (12:35 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12173 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-bootp.c
epan/dissectors/packet-dhcpv6.c

index 1fbcd3c73877aa0f87dfd33874f2173cd2a51607..88e8afeb074499849a29a933a5b5524336e95cec 100644 (file)
@@ -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;
 
index 955b0507b45ded4b54de4f75bd037895407da566..d4c9db109068e1e21972b9fee17f962c03748f57 100644 (file)
@@ -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