Fix warning about signed/unsigned comparison.