Fixed compiler warning

This commit is contained in:
Sam Lantinga 2017-10-12 17:17:09 -07:00
parent 22b6df511b
commit fc60db86b3
2 changed files with 2 additions and 2 deletions

View file

@ -5312,7 +5312,7 @@ int SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
return 0;
}
int SDL_GetNumAllocations()
int SDL_GetNumAllocations(void)
{
return SDL_AtomicGet(&s_mem.num_allocations);
}