(Xenon) Small fix in calloc of SDL_CreateCond

This commit is contained in:
twinaphex 2013-11-04 00:18:44 +01:00
parent bc13d07026
commit a8ebd7b9b3

View File

@ -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;
}