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

Unified Diff: base/win/registry_unittest.cc

Issue 1507413003: clang/win: Let some chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: content_browsertests Created 5 years 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
« no previous file with comments | « base/win/iunknown_impl_unittest.cc ('k') | base/win/scoped_bstr_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/registry_unittest.cc
diff --git a/base/win/registry_unittest.cc b/base/win/registry_unittest.cc
index 22576634f9a4aaa6e3906bea3130f98dd89924e8..0b87023c22a5ca4120a2fe2e74f154b87bf0c04c 100644
--- a/base/win/registry_unittest.cc
+++ b/base/win/registry_unittest.cc
@@ -167,7 +167,7 @@ TEST_F(RegistryTest, TruncatedCharTest) {
const wchar_t kName[] = L"name";
// kData size is not a multiple of sizeof(wchar_t).
const uint8 kData[] = { 1, 2, 3, 4, 5 };
- EXPECT_EQ(5, arraysize(kData));
+ EXPECT_EQ(5u, arraysize(kData));
ASSERT_EQ(ERROR_SUCCESS, key.WriteValue(kName, kData,
arraysize(kData), REG_BINARY));
« no previous file with comments | « base/win/iunknown_impl_unittest.cc ('k') | base/win/scoped_bstr_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698