mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[GDI32]
Fix broken portable implementation of _lrintf, 2nd try :) svn path=/trunk/; revision=50443
This commit is contained in:
@@ -413,7 +413,7 @@ _lrintf(float f)
|
||||
}
|
||||
#else
|
||||
/* slow, but portable */
|
||||
return (int)(x >= 0 ? x+0.5 : x-0.5);
|
||||
return (int)(f >= 0 ? f+0.5 : f-0.5);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user