Avoid warning about comparison of signed and unsigned.