NXC Version 1.2.1 r5
In NXC the int type is a signed 16-bit value.
This type can store values from INT_MIN to INT_MAX. To declare an unsigned 16-bit value you have to use the unsigned keyword followed by the int type. The range of values that can be stored in an unsigned int variable is from zero to UINT_MAX.