iron out all extra compiler warnings
[oweals/libubox.git] / blobmsg.c
index 8019c45b83edff22263cd550497f67d4c0bc49ed..a860483bfa7e1043d567eda04aca8d3ce5bd35b7 100644 (file)
--- a/blobmsg.c
+++ b/blobmsg.c
@@ -67,7 +67,7 @@ int blobmsg_check_array(const struct blob_attr *attr, int type)
 {
        struct blob_attr *cur;
        bool name;
-       int rem;
+       size_t rem;
        int size = 0;
 
        switch (blobmsg_type(attr)) {