diff options
| author | ruki <[email protected]> | 2020-08-04 23:07:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-04 23:07:19 +0800 |
| commit | 5a44a67feba23cb670bafdc8eed474a0a22f4f43 (patch) | |
| tree | 0a9f2518fd41a05ad77729c86467a1ef1f7ecc0d /core/src | |
| parent | 96b0eae26058482a83f5bbf57bab15a834339464 (diff) | |
fix compile errors
Diffstat (limited to 'core/src')
| -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 6987d5ef5..fa25cfffc 100644 --- a/core/src/xmake/io/stdfile.c +++ b/core/src/xmake/io/stdfile.c @@ -93,7 +93,7 @@ static xm_io_file_t* xm_io_stdfile_new(lua_State* lua, tb_size_t type) } // new file - xm_io_file_t* file = lua_newuserdata(lua, sizeof(xm_io_file_t)); + xm_io_file_t* file = (xm_io_file_t*)lua_newuserdata(lua, sizeof(xm_io_file_t)); tb_assert_and_check_return_val(file, tb_null); // init file |
