Fix a warning about comparison between signed and unsigned,