Simple math doing my head in - when is an int treated like an int?

Mostly C, I'd say, with a smidgin of AVR - it is all to do with the platform and the default size of an "int".