mirror of https://github.com/encounter/SDL.git
fixed a typo in SDL_ceilf()
This commit is contained in:
parent
34de3b57a1
commit
1957ffd21a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue