From 9443266c858435da2df22618c6a098c136e917d8 Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 31 May 2009 20:31:56 +0000 Subject: Fix warning in Sys_RandomBytes() usage git-svn-id: svn://svn.icculus.org/quake3/trunk@1564 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/qcommon') 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)); -- cgit v1.2.3