Silence some -Wsign-compare warnings.

How do I avoid the warning?