unsigned int warnings fix