summaryrefslogtreecommitdiff
path: root/core/src/xmake/hash/rand32.c
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-10 23:20:11 +0800
committerruki <[email protected]>2025-11-10 23:20:11 +0800
commitef701a4dce8b7d9a663e084d1fc0b243ddae9397 (patch)
tree45fd20851dd3480bd042dd14af77286c4289d190 /core/src/xmake/hash/rand32.c
parent6db4c62a474e380071625fa5cb7743972a562940 (diff)
format core code again
Diffstat (limited to 'core/src/xmake/hash/rand32.c')
-rw-r--r--core/src/xmake/hash/rand32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/hash/rand32.c b/core/src/xmake/hash/rand32.c
index 7f5286b8e..9e5b486e4 100644
--- a/core/src/xmake/hash/rand32.c
+++ b/core/src/xmake/hash/rand32.c
@@ -42,9 +42,9 @@ tb_int_t xm_hash_rand32(lua_State *lua) {
}
s_seed = xm_hash_xorshift64(s_seed);
- tb_char_t s[256];
+ tb_char_t s[256];
tb_uint32_t word = (s_seed >> 32) ^ (s_seed & 0xffffffff);
- tb_size_t n = xm_hash_make_cstr(s, (tb_byte_t const *)&word, 4);
+ tb_size_t n = xm_hash_make_cstr(s, (tb_byte_t const *)&word, 4);
lua_pushlstring(lua, s, n);
return 1;