From 538b610568382f17ce43063dba6a52ad4b1ccf64 Mon Sep 17 00:00:00 2001 From: vortex Date: Sat, 18 Feb 2012 10:04:23 +0000 Subject: [PATCH] fix type cast git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11693 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=dd52db86fdb87a94b3dbf861476c205ce8c980f7 --- thread_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread_sdl.c b/thread_sdl.c index 9df9ffc9..7c97cbdf 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 = 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 -- 2.39.2