Fix another gcc "comparison between signed and unsigned int" warning