Unsigned data can only hold positive data, whereas signed data can hold both positive and negative data. In your case, the unsigned data is a char, and the signed one is an int and the conversion goes on smoothly. Converting an unsigned double to a signed int MAY be disastrous, depending on the value of the double. You Google for signed vs unsigned - these are the basics. :)
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]