treewide: fix multiple compiler warnings
[project/netifd.git] / config.c
index 9bbda39d3fb5259499cc50c10309920b39537364..e1c01e12994ba222e062e633e5094b2aafa65c02 100644 (file)
--- a/config.c
+++ b/config.c
@@ -337,7 +337,7 @@ config_parse_vlan(struct device *dev, struct uci_section *s)
        char *name_buf;
        int name_len = 0;
        int n_ports = 0;
-       int rem;
+       size_t rem;
 
        val = uci_lookup_option_string(uci_ctx, s, "vlan");
        if (!val)