Fix sign-compare warnings.