fixed a typo in SDL_ceilf()

This commit is contained in:
Ozkan Sezer 2021-03-14 11:04:28 +03:00
parent 34de3b57a1
commit 1957ffd21a

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