"casting to a different type" is not one of the "mathematical operators" they teach you in grade school. Nor are the logic operators (&&, ||, ==, etc) or bitwise operators (&, |, ^)I've been bitten. When in the SLIGHTEST doubt, use extra parenthesis!