Fixed signed/unsigned comparison
Merge pull request #138 from nkiesel/master

Fixed signed/unsigned comparison