From 1957ffd21ab5a3be6f347def510fcb8f985d3b8b Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 14 Mar 2021 11:04:28 +0300 Subject: [PATCH] fixed a typo in SDL_ceilf() --- src/stdlib/SDL_stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_stdlib.c b/src/stdlib/SDL_stdlib.c index ccd758175..b6dc32ab9 100644 --- a/src/stdlib/SDL_stdlib.c +++ b/src/stdlib/SDL_stdlib.c @@ -148,7 +148,7 @@ SDL_ceilf(float x) #if defined(HAVE_CEILF) return ceilf(x); #else - return (float)SDL_ceil((float)x); + return (float)SDL_ceil((double)x); #endif }