From a418cf89392b8df002b4f9e4670ea9cf9a672f6e Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 10 Oct 2021 09:53:48 +0800 Subject: fix error --- core/src/xmake/process/openv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/xmake/process') diff --git a/core/src/xmake/process/openv.c b/core/src/xmake/process/openv.c index 46bec2cf5..493ba02ec 100644 --- a/core/src/xmake/process/openv.c +++ b/core/src/xmake/process/openv.c @@ -60,7 +60,7 @@ tb_int_t xm_process_openv(lua_State* lua) tb_check_return_val(shellname, 0); // get the arguments count - tb_long_t argn = lua_objlen(lua, 2); + tb_long_t argn = (tb_long_t)lua_objlen(lua, 2); tb_check_return_val(argn >= 0, 0); // get arguments -- cgit v1.3.1