iron out all extra compiler warnings
[oweals/ubus.git] / ubusd_obj.c
index 08314732567e7c03f066ae8d4c5faad22f381eff..0c9cb9ae820815da7597a40ec6e803aaad2e9c2b 100644 (file)
@@ -55,7 +55,7 @@ static struct ubus_object_type *ubus_create_obj_type(struct blob_attr *sig)
 {
        struct ubus_object_type *type;
        struct blob_attr *pos;
-       int rem;
+       size_t rem;
 
        type = calloc(1, sizeof(*type));
        if (!type)