diff options
| author | ruki <[email protected]> | 2026-01-21 22:31:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-21 22:31:49 +0800 |
| commit | e53ded7330b1ad6941bfa70b6b8d232410a813a5 (patch) | |
| tree | d2f528b9c4661e7eba88c00ec606ebb0f4f34a48 /core/src/xmake/utf8/byte.c | |
| parent | e36eec65251b48fb5188691e86006ea8266ebe9a (diff) | |
fix compile error
Diffstat (limited to 'core/src/xmake/utf8/byte.c')
| -rw-r--r-- | core/src/xmake/utf8/byte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/utf8/byte.c b/core/src/xmake/utf8/byte.c index 036f04334..18cd5d7c9 100644 --- a/core/src/xmake/utf8/byte.c +++ b/core/src/xmake/utf8/byte.c @@ -48,5 +48,5 @@ tb_int_t xm_utf8_byte(lua_State* lua) { lua_Integer i = luaL_optinteger(lua, 2, 1); lua_Integer j = luaL_optinteger(lua, 3, i); - return (tb_int_t)xm_utf8_byte_impl(s, len, i, j, xm_utf8_byte_cb, lua); + return (tb_int_t)xm_utf8_byte_impl(s, len, (tb_long_t)i, (tb_long_t)j, xm_utf8_byte_cb, lua); } |
