From fbcae436aa6cb62ce0fbd317d5ff95ddc744328b Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 10 Oct 2021 09:38:01 +0800 Subject: fix compile error --- core/src/xmake/os/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') 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 -- cgit v1.3.1