Silence a few -Wsign-compare warnings.
Merge pull request #236 from rohit-n/sign-compare

Silence a few -Wsign-compare warnings.