I am taking an integer, in this case 192, and left shifting it 24 spaces. The leading 1 is causing it to become negative, it seems.
unsigned int i = 192; uns
You wan to do NSLog(@"newnumber is %u",newnumber);
NSLog(@"newnumber is %u",newnumber);
%d converts it back to a signed int.
%d