try it out:
volatile float bob = -344.0f; unsigned int fred = (unsigned int)bob; printf(\"%d\\n\",fred);
output will be 0.
obvious
Cast via a signed int.