Commit 1957ffd21ab5a3be6f347def510fcb8f985d3b8b

Ozkan Sezer 2021-03-14T11:04:28

fixed a typo in SDL_ceilf()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/stdlib/SDL_stdlib.c b/src/stdlib/SDL_stdlib.c
index ccd7581..b6dc32a 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
 }