소스 검색

fixed a typo in SDL_ceilf()

Ozkan Sezer 5 년 전
부모
커밋
1957ffd21a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 #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
 }
 }