Hi, Thanks to all for the interesting discussion and the valuable hints! It helped me very much to understand what's wrong with my code. Best Regards, Hajo Am Donnerstag, den 03.12.2009, 07:36 -0800 schrieb John (Eljay) Love-Jensen: > Hi Richard, > > > Forget that. I'm talking nonsense. > > No harm, no foul. :-) > > > An int is signed only if it's smaller than INT_MAX in magnitude. > > And as long as it doesn't exceed UINT_MAX. Normal promotion rules apply. > > > Otherwise it's unsigned (hence #defining INT_MIN as (-INT_MAX - 1) > > On a 2's complement machine. > > On a 1's complement, #define INT_MIN (-INT_MAX) > > Sincerely, > --Eljay