mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Fix warning in Sys_RandomBytes() usage
This commit is contained in:
parent
4e8a181073
commit
e0a2100df5
1 changed files with 1 additions and 1 deletions
|
@ -2509,7 +2509,7 @@ static void Com_InitRand(void)
|
|||
{
|
||||
unsigned int seed;
|
||||
|
||||
if(Sys_RandomBytes(&seed, sizeof(seed)))
|
||||
if(Sys_RandomBytes((byte *) &seed, sizeof(seed)))
|
||||
srand(seed);
|
||||
else
|
||||
srand(time(NULL));
|
||||
|
|
Loading…
Reference in a new issue