diff options
| -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 6536e430a..c5adae143 100644 --- a/core/src/xmake/io/stdfile.c +++ b/core/src/xmake/io/stdfile.c @@ -146,7 +146,7 @@ tb_int_t xm_io_stdfile(lua_State* lua) tb_assert_and_check_return_val(lua, 0); // get std type - tb_int_t type = lua_tointeger(lua, 1); + tb_long_t type = lua_tointeger(lua, 1); // get stdfile xm_io_file_t* file = tb_null; |
