6 Feb
2008
6 Feb
'08
11:03 a.m.
Gerald Pfeifer <gerald(a)pfeifer.com> writes:
The reason is that we have
#define HDPTOLP(y) ((y<0)? \ (-abs(INTERNAL_YDSTOWS(dc, (y)))): \ (abs(INTERNAL_YDSTOWS(dc, (y)))))
which is overly complicated for unsigned types. We can avoid these warnings by using plain INTERNAL_YDSTOWS instead of HDPTOLP here.
No, you still need the abs(). -- Alexandre Julliard julliard(a)winehq.org