Fix another C warning about signed-vs-unsigned comparison