Fix warning 'comparison between signed and unsigned integer expressions'

With gcc on Windows.