Merge commit '1957ffd21ab5a3be6f347def510fcb8f985d3b8b' into main

This commit is contained in:
Sam Lantinga 2021-03-15 09:00:33 -07:00
commit 4a39d89611
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ SDL_ceilf(float x)
#if defined(HAVE_CEILF) #if defined(HAVE_CEILF)
return ceilf(x); return ceilf(x);
#else #else
return (float)SDL_ceil((float)x); return (float)SDL_ceil((double)x);
#endif #endif
} }