int and unsigned int

Pavilion1984:
I thought an int was 16bits long but when i print out a int value in the serial monitor as binary i can see 32bits.

I still don't see your code.