mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[GDI32]
Fix broken portable implementation of _lrintf svn path=/trunk/; revision=50442
This commit is contained in:
parent
d0f0bdb64b
commit
8c35fc79b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue