fixed unsigned int warnings.