mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 09:20:29 +00:00
remove static char to only use char
This commit is contained in:
parent
eab6cabde0
commit
d61c33d7b4
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ int LuaVisualizeControlCodes(lua_State *L) {
|
|||
int LuaUuidV4(lua_State *L) {
|
||||
char v[] = {'0', '1', '2', '3', '4', '5', '6', '7',
|
||||
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
|
||||
static char uuid_str[37] = {0};
|
||||
char uuid_str[37] = {0};
|
||||
|
||||
uuid_str[0] = v[_rand64() % 16];
|
||||
uuid_str[1] = v[_rand64() % 16];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue