Hello
According to the standard an ANSI C compiler will evaluate expression like 1000*33 on an int (16-bit) value and then result will be signed extended to long.
You need to tell the compiler the expression should be evaluated on 32-bit value.
In this purpose use the L prefix in one of the operant.
Your expression should be written 1000L * 33
This is compliant with ANSI C language definition.
CrasyCat