Fixed some unsigned int comparison warnings.