Serial.parseInt() problem ... int vs long return type

Anyway, it is important for other people to realize that you don't just get the value truncated to an 'int' if you use an int type, but you get a 'short'.

The Arduino doesn't have a short type. It has 16 bit ints and 32 bit longs.