Avoid warnings when building tests.

This commit is contained in:
Jakob Petsovits
2015-07-15 17:21:26 -04:00
committed by Jakob Petsovits
parent efebbcb2bf
commit cf9a009fb8
2 changed files with 3 additions and 3 deletions

View File

@@ -471,7 +471,7 @@ TORRENT_TEST(bencoding)
TEST_EQUAL(ps.len, 6);
ps = e.dict_find_pstr("foobar2");
TEST_EQUAL(ps.ptr, NULL);
TEST_EQUAL(ps.ptr, static_cast<char const*>(0));
TEST_EQUAL(ps.len, 0);
}
@@ -491,7 +491,7 @@ TORRENT_TEST(bencoding)
TEST_EQUAL(ps.len, 6);
ps = e.list_pstr_at(1);
TEST_EQUAL(ps.ptr, NULL);
TEST_EQUAL(ps.ptr, static_cast<char const*>(0));
TEST_EQUAL(ps.len, 0);
}