Fix warning: comparison of integers of different signs [-Wsign-compare].
Merge pull request #32 from BB9z/fix-warning-sign-compare

Fix warning: comparison of integers of different signs