Silence compiler warning 

about comparison of integers with different sign.

Refs #1777.