Clear a compile warning
authorRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 08:18:29 +0000 (08:18 +0000)
committerRoy Marples <roy@marples.name>
Thu, 2 Oct 2014 08:18:29 +0000 (08:18 +0000)
src/libdhcpcd/wpa.c

index 07b125835400c051e7d2c5f6a1e196676f07c7b6..a452051b8a4d5015bcacca8b7f8a779c0132a4d6 100644 (file)
@@ -595,7 +595,7 @@ dhcpcd_wpa_network_find_new(DHCPCD_WPA *wpa, const char *ssid)
                return -1;
 
        for (i = 0; i < dl; i++) {
                return -1;
 
        for (i = 0; i < dl; i++) {
-               if (!isascii(dssid[i]) && !isprint(dssid[i]))
+               if (!isascii((int)dssid[i]) && !isprint((int)dssid[i]))
                        break;
        }
        ep = essid;
                        break;
        }
        ep = essid;