Jelajahi Sumber

fixed a typo in SDL_ceilf()

Ozkan Sezer 5 tahun lalu
induk
melakukan
1957ffd21a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/stdlib/SDL_stdlib.c

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