fix different-sign comparison warning
Merge pull request #3 from njwhite/feature/warning

fix different-sign comparison warning