Fix sign warnings from integer comparisons.