diff options
| author | Saikari <[email protected]> | 2026-01-18 07:40:14 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-18 07:40:14 +0300 |
| commit | a1c0eaed71793cd3761dbcf6b2a4cab6c6474434 (patch) | |
| tree | 5ce6616765b63197caafe5f377f9c6ea922c5ea2 /core/src/xmake/string/upper.c | |
| parent | 60b461f7af91ca0429c8a863dbe6c8e7be2a77ed (diff) | |
re
Diffstat (limited to 'core/src/xmake/string/upper.c')
| -rw-r--r-- | core/src/xmake/string/upper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/string/upper.c b/core/src/xmake/string/upper.c index ba625bde4..b9b71b349 100644 --- a/core/src/xmake/string/upper.c +++ b/core/src/xmake/string/upper.c @@ -52,7 +52,7 @@ tb_int_t xm_string_upper(lua_State *lua) { } // copy string to buffer - tb_char_t* buffer = tb_malloc_bytes(size + 1); + tb_char_t* buffer = (tb_char_t*)tb_malloc_bytes(size + 1); if (buffer) { tb_memcpy(buffer, cstr, size); buffer[size] = '\0'; |
