The signedness of 'char' is never certain between compilers. There are x86
C compilers that implemented 'char' as unsigned, others as signed, and
others that offered a compile switch to do either way if the default didn't
work with the code being compiled.
When it matters, just be explicit :)
----- Original Message -----
From: "Willy Tarreau" <[email protected]>
To: "J.A. Magallon" <[email protected]>
Cc: <[email protected]>; "Andrew Morton" <[email protected]>
Sent: Tuesday, June 21, 2005 08:54
Subject: Re: Kill signed chars !!! => PPC uses unsigned chars
>
> Well, to my surprize, linux-ppc uses UNSIGNED chars by default. It has
amazed
> me but it's a fact. Let's compile this little program on tux-ppc :
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]