wireless: fix sign comparison warning
authorFelix Fietkau <nbd@nbd.name>
Fri, 10 Nov 2023 12:53:38 +0000 (13:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 10 Nov 2023 14:36:27 +0000 (15:36 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
wireless.c

index 7ad2fcf0aa484f97fc25d47177f0db3850b8d388..91663e8579946db188320ec8fabe78f71482d9ce 100644 (file)
@@ -1540,7 +1540,7 @@ wdev_check_network_enabled(struct wireless_device *wdev)
        struct wireless_interface *vif;
        struct interface *iface;
        struct blob_attr *cur;
-       int rem;
+       size_t rem;
 
        vlist_for_each_element(&wdev->interfaces, vif, node) {
                int enabled = -1;