Fix signed to unsigned comparison compiler warning.