Fix signed/unsigned compare warning.