aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua.c b/lua.c
index 3d807c98..9693ad68 100644
--- a/lua.c
+++ b/lua.c
@@ -185,7 +185,7 @@ static void print_version (void) {
185static void createargtable (lua_State *L, char **argv, int argc, int script) { 185static void createargtable (lua_State *L, char **argv, int argc, int script) {
186 int i, narg; 186 int i, narg;
187 narg = argc - (script + 1); /* number of positive indices */ 187 narg = argc - (script + 1); /* number of positive indices */
188 lua_createtable(L, narg, script + 1); 188 lua_createtable(L, cast_uint(narg), cast_uint(script + 1));
189 for (i = 0; i < argc; i++) { 189 for (i = 0; i < argc; i++) {
190 lua_pushstring(L, argv[i]); 190 lua_pushstring(L, argv[i]);
191 lua_rawseti(L, -2, i - script); 191 lua_rawseti(L, -2, i - script);