diff options
| author | ruki <[email protected]> | 2017-03-30 17:18:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-30 17:18:23 +0800 |
| commit | 3eb49a191bd2c4d0ab4a921d8f167fe5f4b2c491 (patch) | |
| tree | bfbaf148cafa1b95b36ae207e931529ce27ed4b7 /core/src/xmake/process | |
| parent | d3f8282da5629d93acecc5c96258a38b1bd42eed (diff) | |
support windows x64
Diffstat (limited to 'core/src/xmake/process')
| -rw-r--r-- | core/src/xmake/process/waitlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/xmake/process/waitlist.c b/core/src/xmake/process/waitlist.c index e7a3f5162..3e5d20aa0 100644 --- a/core/src/xmake/process/waitlist.c +++ b/core/src/xmake/process/waitlist.c @@ -77,7 +77,7 @@ tb_int_t xm_process_waitlist(lua_State* lua) } // get the processes - tb_size_t i = 0; + tb_int_t i = 0; tb_process_ref_t processes[64 + 1]; for (i = 0; i < count; i++) { @@ -93,14 +93,14 @@ tb_int_t xm_process_waitlist(lua_State* lua) if (!processes[i]) { // error - lua_pushfstring(lua, "process[%ld] is null for process.waitlist", i); + lua_pushfstring(lua, "process[%d] is null for process.waitlist", i); lua_error(lua); } } else { // error - lua_pushfstring(lua, "invalid process[%ld] type(%s) for process.waitlist", i, luaL_typename(lua, -1)); + lua_pushfstring(lua, "invalid process[%d] type(%s) for process.waitlist", i, luaL_typename(lua, -1)); lua_error(lua); } |
