Fix warning in Sys_RandomBytes() usage

This commit is contained in:
Thilo Schulz 2009-05-31 20:31:56 +00:00
parent 4e8a181073
commit e0a2100df5

View file

@ -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));