Was defining the type as an unsigned int