diff options
| author | ruki <[email protected]> | 2021-09-21 23:08:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-21 23:08:32 +0800 |
| commit | d25d5d11dc33e252809b61631203ce862e06b058 (patch) | |
| tree | 8192da9aac5a08956c07ad3c0ebf4e44a4e14895 /core/src/xmake | |
| parent | 42dab62b8525aa52a339b57003524156d25cd08f (diff) | |
fix compile errors
Diffstat (limited to 'core/src/xmake')
| -rw-r--r-- | core/src/xmake/io/stdfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/io/stdfile.c b/core/src/xmake/io/stdfile.c index 67823cf3e..1daf7c794 100644 --- a/core/src/xmake/io/stdfile.c +++ b/core/src/xmake/io/stdfile.c @@ -120,7 +120,7 @@ tb_int_t xm_io_stdfile(lua_State* lua) tb_assert_and_check_return_val(lua, 0); // get std type - tb_long_t type = lua_tointeger(lua, 1); + tb_long_t type = (tb_long_t)lua_tointeger(lua, 1); /* push a new stdfile * |
