summaryrefslogtreecommitdiff
path: root/core/src/xmake/process
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/xmake/process')
-rw-r--r--core/src/xmake/process/openv.c2
1 files changed, 1 insertions, 1 deletions
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