]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence signed/unsigned comparision warning
authorMark Andrews <marka@isc.org>
Wed, 6 Aug 2014 02:25:03 +0000 (12:25 +1000)
committerMark Andrews <marka@isc.org>
Wed, 6 Aug 2014 02:25:41 +0000 (12:25 +1000)
(cherry picked from commit f38a398033135d1e35986c6d36335d6b7309f939)

lib/lwres/lwconfig.c

index 8426e1d38f6733ec62dfcb4d2ddc5a8783319fe3..06dab6eebeb600f18080cb4334698de34059d4f8 100644 (file)
@@ -487,7 +487,7 @@ lwres_create_addr(const char *buffer, lwres_addr_t *addr, int convert_zero) {
 
 #ifdef HAVE_IF_NAMETOINDEX
                        zone = if_nametoindex(percent);
-                       if (zone != 0) {
+                       if (zone != 0U) {
                                addr->zone = zone;
                                return (LWRES_R_SUCCESS);
                        }