diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 02b22d25..fbeea3ca 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -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));