diff options
| author | ruki <[email protected]> | 2025-10-01 00:53:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-01 00:53:49 +0800 |
| commit | 70db5d57333ce0b5f8a083b26be01d2a357d1133 (patch) | |
| tree | 004da3dbc50f535a3e51e80a38bdf834ed7d4bf0 /core/src | |
| parent | 21c498ab682b083a58dbe25a716ba72a5012f8be (diff) | |
fix compile error
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/hash/rand32.c | 2 |
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); |
