diff options
author | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-08 01:32:15 +0000 |
---|---|---|
committer | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-08 01:32:15 +0000 |
commit | 3b39a310340555fd6365fb39fc39a24879e8313c (patch) | |
tree | 6ac12bf58f94c623f8f19555b43da0d5f7055ad1 /chrome/browser/safe_browsing/protocol_parser_unittest.cc | |
parent | 3b0f5f6fb61bd3a896670d91e8aa42c4e2c772b9 (diff) | |
download | chromium_src-3b39a310340555fd6365fb39fc39a24879e8313c.zip chromium_src-3b39a310340555fd6365fb39fc39a24879e8313c.tar.gz chromium_src-3b39a310340555fd6365fb39fc39a24879e8313c.tar.bz2 |
Fix linux / mac build.
Review URL: http://codereview.chromium.org/17256
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/protocol_parser_unittest.cc')
-rw-r--r-- | chrome/browser/safe_browsing/protocol_parser_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/safe_browsing/protocol_parser_unittest.cc b/chrome/browser/safe_browsing/protocol_parser_unittest.cc index e651c14..289df72 100644 --- a/chrome/browser/safe_browsing/protocol_parser_unittest.cc +++ b/chrome/browser/safe_browsing/protocol_parser_unittest.cc @@ -506,7 +506,7 @@ TEST(SafeBrowsingProtocolParsingTest, TestGetHashWithUnknownList) { &re_key, &full_hashes)); - EXPECT_EQ(full_hashes.size(), 1); + EXPECT_EQ(full_hashes.size(), static_cast<size_t>(1)); EXPECT_EQ(memcmp("12345678901234567890123456789012", &full_hashes[0].hash, sizeof(SBFullHash)), 0); EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); @@ -521,7 +521,7 @@ TEST(SafeBrowsingProtocolParsingTest, TestGetHashWithUnknownList) { &re_key, &full_hashes)); - EXPECT_EQ(full_hashes.size(), 2); + EXPECT_EQ(full_hashes.size(), static_cast<size_t>(2)); EXPECT_EQ(memcmp("12345678901234567890123456789012", &full_hashes[0].hash, sizeof(SBFullHash)), 0); EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); |