mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-03 17:08:17 +00:00
(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…
x
Reference in New Issue
Block a user