diff options
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/os/args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/os/args.c b/core/src/xmake/os/args.c index 4f1c89f7f..c6de9e6c6 100644 --- a/core/src/xmake/os/args.c +++ b/core/src/xmake/os/args.c @@ -108,7 +108,7 @@ tb_int_t xm_os_args(lua_State* lua) if (lua_istable(lua, 1)) { tb_size_t i = 0; - tb_size_t n = lua_objlen(lua, 1); + tb_size_t n = (tb_size_t)lua_objlen(lua, 1); for (i = 1; i <= n; i++) { // add space |
