Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: crypto/sha2_unittest.cc

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: crypto/sha2_unittest.cc
===================================================================
--- crypto/sha2_unittest.cc (revision 97489)
+++ crypto/sha2_unittest.cc (working copy)
@@ -45,7 +45,7 @@
0xf2, 0x00, 0x15, 0xad };
std::string output1 = crypto::SHA256HashString(input1);
- ASSERT_EQ(crypto::SHA256_LENGTH, output1.size());
+ ASSERT_EQ(static_cast<size_t>(crypto::SHA256_LENGTH), output1.size());
Nico 2011/08/19 20:34:23 for msvc i assume. else revert
for (size_t i = 0; i < crypto::SHA256_LENGTH; i++)
EXPECT_EQ(expected1[i], static_cast<uint8>(output1[i]));
}

Powered by Google App Engine
This is Rietveld 408576698