Fix warnings
Merge pull request #6 from bchretien/master

Fix comparison errors signed/unsigned.