gdi32: Use abs() on an integer argument to avoid a clang warning.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
851777dcb1
commit
bb4ead4c7c
|
@ -303,8 +303,8 @@ BOOL WINAPI ArcTo( HDC hdc,
|
|||
INT xstart, INT ystart,
|
||||
INT xend, INT yend )
|
||||
{
|
||||
double width = fabs(right-left),
|
||||
height = fabs(bottom-top),
|
||||
double width = abs( right - left ),
|
||||
height = abs( bottom - top ),
|
||||
xradius = width/2,
|
||||
yradius = height/2,
|
||||
xcenter = right > left ? left+xradius : right+xradius,
|
||||
|
|
Loading…
Reference in New Issue