summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/xmake/hash/rand32.c2
1 files changed, 1 insertions, 1 deletions
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);