diff options
| author | ruki <[email protected]> | 2022-04-04 22:53:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-04 22:53:08 +0800 |
| commit | d7115ae9ce36bf98d54d4c48705c304f543c8c7b (patch) | |
| tree | 9c6bec36ffb4b7c75fbd7db6dd9e9a1ce1e99835 /core/src/xmake | |
| parent | eb4ed40168b3e2e309bdc1fbe6ba826d7c101905 (diff) | |
fix panic for luajit
Diffstat (limited to 'core/src/xmake')
| -rw-r--r-- | core/src/xmake/io/file_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/io/file_write.c b/core/src/xmake/io/file_write.c index c7db01937..d2d150353 100644 --- a/core/src/xmake/io/file_write.c +++ b/core/src/xmake/io/file_write.c @@ -36,7 +36,7 @@ static tb_void_t xm_io_file_write_file_utfbom(xm_io_file_t* file) { // check - tb_assert(file && data && xm_io_file_is_file(file) && file->file_ref); + tb_assert(file && xm_io_file_is_file(file) && file->file_ref); // write bom switch (file->encoding) |
