From a8ebd7b9b30b039b47b06be7af3f593a8c6032ab Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 4 Nov 2013 00:18:44 +0100 Subject: [PATCH] (Xenon) Small fix in calloc of SDL_CreateCond --- thread/xenon_sdl_threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread/xenon_sdl_threads.c b/thread/xenon_sdl_threads.c index b6e5fc638d..17025da461 100644 --- a/thread/xenon_sdl_threads.c +++ b/thread/xenon_sdl_threads.c @@ -23,7 +23,7 @@ SDL_cond *SDL_CreateCond(void) { - bool *sleeping = calloc(1, sizeof(sleeping)); + bool *sleeping = calloc(1, sizeof(*sleeping)); return (SDL_cond*)sleeping; }