(Xenon) Small fix in calloc of SDL_CreateCond
This commit is contained in:
parent
bc13d07026
commit
a8ebd7b9b3
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
SDL_cond *SDL_CreateCond(void)
|
SDL_cond *SDL_CreateCond(void)
|
||||||
{
|
{
|
||||||
bool *sleeping = calloc(1, sizeof(sleeping));
|
bool *sleeping = calloc(1, sizeof(*sleeping));
|
||||||
return (SDL_cond*)sleeping;
|
return (SDL_cond*)sleeping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue