Avoid warning of comparison between signed and unsigned.