From: vortex Date: Sat, 18 Feb 2012 10:05:58 +0000 (+0000) Subject: fix type cast X-Git-Tag: xonotic-v0.6.0~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=31e50b2205faa169441b3d09f4f51271c3371bb3;p=xonotic%2Fdarkplaces.git fix type cast git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11694 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=a93a14bbd5d1b0d05e28eba7046b4dc23560d157 --- diff --git a/thread_sdl.c b/thread_sdl.c index 7c97cbdf..ca729c35 100644 --- a/thread_sdl.c +++ b/thread_sdl.c @@ -128,7 +128,7 @@ typedef struct { void *_Thread_CreateBarrier(unsigned int count, const char *filename, int fileline) { - barrier_t *b = (barrier_t)Z_Malloc(sizeof(barrier_t)); + barrier_t *b = (barrier_t *)Z_Malloc(sizeof(barrier_t)); #ifdef THREADDEBUG Sys_PrintfToTerminal("%p barrier create(%d) %s:%i\n", b, count, filename, fileline); #endif