Fix build break because of unsigned/signed mismatch
Merge pull request #371 from dlezama/master

Fix build break because of unsigned/signed mismatch