iron out all extra compiler warnings
[oweals/ubus.git] / lua / ubus.c
index 4da3c80e07f52c6e3e234dc1534b22f37e9326b7..6fbbc0686af340097da49278d12c6136c6440532 100644 (file)
@@ -52,11 +52,11 @@ static int
 ubus_lua_parse_blob(lua_State *L, struct blob_attr *attr, bool table);
 
 static int
-ubus_lua_parse_blob_array(lua_State *L, struct blob_attr *attr, int len, bool table)
+ubus_lua_parse_blob_array(lua_State *L, struct blob_attr *attr, size_t len, bool table)
 {
        int rv;
        int idx = 1;
-       int rem = len;
+       size_t rem = len;
        struct blob_attr *pos;
 
        lua_newtable(L);