In article <20120322013932.ga24...@britannica.bec.de>, Joerg Sonnenberger <jo...@britannica.bec.de> 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