iron out all extra compiler warnings
[project/uci.git] / lua / uci.c
index b29c347b1d9111c1e70ce824b0533fe6cdc990ce..f4dce89b7c9f2703840da7f63ab9905d2d58bddc 100644 (file)
--- a/lua/uci.c
+++ b/lua/uci.c
@@ -605,7 +605,8 @@ uci_lua_set(lua_State *L)
        int err = UCI_ERR_MEM;
        char *s = NULL;
        const char *v;
-       int i, nargs, offset = 0;
+       unsigned int i;
+       int nargs, offset = 0;
 
        ctx = find_context(L, &offset);
        nargs = lua_gettop(L);