From 70db5d57333ce0b5f8a083b26be01d2a357d1133 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 1 Oct 2025 00:53:49 +0800 Subject: fix compile error --- core/src/xmake/hash/rand32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/xmake/hash/rand32.c b/core/src/xmake/hash/rand32.c index 66885a2cd..c14c6288e 100644 --- a/core/src/xmake/hash/rand32.c +++ b/core/src/xmake/hash/rand32.c @@ -43,7 +43,7 @@ tb_int_t xm_hash_rand32(lua_State* lua) s_seed.word = (tb_uint32_t)tb_uclock(); s_seed.word = xm_hash_xorshift32(s_seed.word); - tb_char_t s[64]; + tb_char_t s[256]; tb_size_t n = xm_hash_make_cstr(s, s_seed.b, 4); lua_pushlstring(lua, s, n); -- cgit v1.3.1