PS4: Fix compile.

Thanks to Eric Lavesson.
This commit is contained in:
Mike Pall 2021-07-19 18:15:18 +02:00
parent 4deb5a1588
commit bc98a3ade5

View File

@ -173,7 +173,7 @@ int LJ_FASTCALL lj_prng_seed_secure(PRNGState *rs)
#elif LJ_TARGET_PS4 || LJ_TARGET_PSVITA
if (sceRandomGetRandomNumber(rs->u, sizeof(rs->u) == 0)
if (sceRandomGetRandomNumber(rs->u, sizeof(rs->u)) == 0)
goto ok;
#elif LJ_TARGET_UWP || LJ_TARGET_XBOXONE