Clear a compile warning
[dhcpcd-ui] / 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++) {
-               if (!isascii(dssid[i]) && !isprint(dssid[i]))
+               if (!isascii((int)dssid[i]) && !isprint((int)dssid[i]))
                        break;
        }
        ep = essid;