Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libc/stdio
In article <20120322013932.GA24929%britannica.bec.de@localhost>,
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>>
>> What's is wrong with it?
>
>It should be unnecessary. CHAR_MAX is certainly required to fit into
>both char and unsigned char.
Yes, the issue here being that lint is saying that if char is signed
the constant 0xff does not fit; at the point lint looks at the assignment
CHAR_MAX is 255.
christos
Home |
Main Index |
Thread Index |
Old Index