Removing warnings about unsigned int vs int