aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/qcommon/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c
index 02b22d2..fbeea3c 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));