fix some more warnings

This commit is contained in:
arvidn
2015-08-08 02:33:54 -04:00
parent 4453592c09
commit 50925d7652
15 changed files with 56 additions and 36 deletions

View File

@@ -578,6 +578,7 @@ TORRENT_TEST(bencoding)
bdecode_errors::error_code_enum ec;
char const* e = parse_int(b, b + sizeof(b)-1, ':', val, ec);
TEST_CHECK(ec == bdecode_errors::overflow);
TEST_EQUAL(e, b + 18);
}
{
@@ -586,6 +587,7 @@ TORRENT_TEST(bencoding)
bdecode_errors::error_code_enum ec;
char const* e = parse_int(b, b + sizeof(b)-1, ':', val, ec);
TEST_CHECK(ec == bdecode_errors::expected_colon);
TEST_EQUAL(e, b + 3);
}
{