In article <[email protected]>, Joerg Sonnenberger <[email protected]> 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
