diff options
| author | ruki <[email protected]> | 2019-08-20 00:27:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-19 20:42:15 +0800 |
| commit | 803f85a9d3c6ba7429479239c52f67210e778c08 (patch) | |
| tree | 1ee536327f9450da15d3becbf30d6f15807745ca | |
| parent | 5dceabc08c22eb01c78dabab6d5a911d807ee850 (diff) | |
fix compile error
| -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; |
