Commit bc52610ebc21cd175c77e05d13480de8fd683b82

tin-pot 2016-12-05T12:21:07

Fix signed/unsigned comparisons. This removes a lot of MSVC warnings.