Dan Sugalski wrote:
$1 = (INTVAL)((char)($1)); The INTVAL could be a "long long".That one needs a sizeof(char) check. chars are *not* 8 bits everywhere.
AFAIK are chars 8 bits by defintion, i.e. C standard. The machine representation of a char might be different though.
Same here. shorts may not be 16 bits.
Test for this is in. leo