summaryrefslogtreecommitdiff
path: root/lua/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ubus.c')
-rw-r--r--lua/ubus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/ubus.c b/lua/ubus.c
index 4da3c80..6fbbc06 100644
--- a/lua/ubus.c
+++ b/lua/ubus.c
@@ -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);