silence signed/unsigned comparision warning

(cherry picked from commit f38a398033)
This commit is contained in:
Mark Andrews
2014-08-06 12:25:36 +10:00
parent b065c4f75b
commit 81a09f0df7
+1 -1
View 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);
}