NXC Version 1.2.1 r5
In NXC the long type is a signed 32-bit value.
This type can store values from LONG_MIN to LONG_MAX. To declare an unsigned 32-bit value you have to use the unsigned keyword followed by the long type. The range of values that can be stored in an unsigned long variable is from zero to ULONG_MAX.