diff --git a/reactos/dll/win32/gdi32/include/gdi32p.h b/reactos/dll/win32/gdi32/include/gdi32p.h index 6fa4a1d2b3a..dc573ada171 100644 --- a/reactos/dll/win32/gdi32/include/gdi32p.h +++ b/reactos/dll/win32/gdi32/include/gdi32p.h @@ -413,7 +413,7 @@ _lrintf(float f) } #else /* slow, but portable */ - return (int)floor(x >= 0 ? x+0.5 : x-0.5); + return (int)(x >= 0 ? x+0.5 : x-0.5); #endif }