summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2017-12-10 20:20:45 +0800
committerruki <[email protected]>2017-12-10 20:20:45 +0800
commit38403a6d851e790eb78feddf97f6c2733f59b05f (patch)
tree4ed2287f012794722ea021329be517a85a073a5d /core/src/xmake/machine.c
parentff1bded2e07e9c4cf1f3865b40f8164da6287586 (diff)
update some autogen codes for luajit
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index eecf40ff2..7b8514611 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -273,7 +273,7 @@ static tb_bool_t xm_machine_save_arguments(xm_machine_impl_t* impl, tb_int_t arg
{
// table_new[table.getn(table_new) + 1] = argv[i]
lua_pushstring(impl->lua, argv[i]);
- lua_rawseti(impl->lua, -2, lua_objlen(impl->lua, -2) + 1);
+ lua_rawseti(impl->lua, -2, (int)lua_objlen(impl->lua, -2) + 1);
}
// _ARGV = table_new