fixed some GCC warnings

This commit is contained in:
arvidn
2015-08-20 01:33:20 +02:00
parent 91a08606cf
commit ffa870d280
46 changed files with 268 additions and 152 deletions

View File

@@ -599,7 +599,7 @@ TORRENT_TEST(bencoding)
"d1:a9205357638345293824:11111",
};
for (int i = 0; i < sizeof(b)/sizeof(b[0]); ++i)
for (int i = 0; i < int(sizeof(b)/sizeof(b[0])); ++i)
{
lazy_entry e;
error_code ec;