mpr: fix a compiler error on PowerPC
Alexandre Julliard
julliard at winehq.org
Fri Jan 9 03:51:02 CST 2009
Francois Gouget <fgouget at free.fr> writes:
> On Fri, 2 Jan 2009, Austin English wrote:
>
>> CHAR defaults to unsigned char on PowerPC, so explicitly setting hi/lo
>> to signed char to avoid this error.
>
> CHAR is a Windows type so I don't think it's right for it to be unsigned
> on PowerPC. Even more so since there is a UCHAR type.
>
> So I think the right thing to do is to fix the CHAR declaration in
> wtypes.h and winnt.h.
No, CHAR is really supposed to be the same thing as char, since it's
used for strings. Otherwise you'll need casts all over the place.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list