Fix warning (comparison signed and unsigned)