mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix warning.
This commit is contained in:
parent
652f71bb1d
commit
a50262c490
@ -198,7 +198,7 @@ int LJ_FASTCALL lj_prng_seed_secure(PRNGState *rs)
|
|||||||
#elif LJ_TARGET_HAS_GETENTROPY
|
#elif LJ_TARGET_HAS_GETENTROPY
|
||||||
|
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
if (getentropy && getentropy(rs->u, sizeof(rs->u)) == 0)
|
if (&getentropy && getentropy(rs->u, sizeof(rs->u)) == 0)
|
||||||
goto ok;
|
goto ok;
|
||||||
#else
|
#else
|
||||||
if (getentropy(rs->u, sizeof(rs->u)) == 0)
|
if (getentropy(rs->u, sizeof(rs->u)) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user