Gerald Pfeifer gerald@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().