Fix compiler warnings about comparison between signed and unsigned
Merge pull request #1406 from mstorsjo/fix-warnings

Fix compiler warnings about comparison between signed and unsigned