Avoid two warnings about signedness mismatch in comparison.