aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-31 20:31:56 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-31 20:31:56 +0000
commit9443266c858435da2df22618c6a098c136e917d8 (patch)
tree28695517c79a7b18e77101836d488c8258bf9f66 /code/qcommon
parent243b5bfdc79a8924d90df11cf5115bd3a959204b (diff)
downloadioquake3-aero-9443266c858435da2df22618c6a098c136e917d8.tar.gz
ioquake3-aero-9443266c858435da2df22618c6a098c136e917d8.zip
Fix warning in Sys_RandomBytes() usage
git-svn-id: svn://svn.icculus.org/quake3/trunk@1564 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-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));