dlls/gdi32/font.c warning removal (RESEND)
Alexandre Julliard
julliard at winehq.org
Wed Feb 6 05:03:52 CST 2008
Gerald Pfeifer <gerald at 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 at winehq.org
More information about the wine-devel
mailing list