treewide: fix multiple compiler warnings
[project/netifd.git] / vlandev.c
index d93d2b3c5aab459afba9e17f0d51ec98ef5ef6c5..ad4c526f40ae99cdfedb66c9d81726e24a9f4180 100644 (file)
--- a/vlandev.c
+++ b/vlandev.c
@@ -288,7 +288,8 @@ static void vlandev_qos_mapping_list_apply(struct vlist_simple_tree *qos_mapping
 {
        struct blob_attr *cur;
        struct vlan_qos_mapping *qos_mapping;
-       int rem, rc;
+       size_t rem;
+       int rc;
 
        blobmsg_for_each_attr(cur, list, rem) {
                if (blobmsg_type(cur) != BLOBMSG_TYPE_STRING)