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

Unified Diff: cloud_print/virtual_driver/win/install/setup.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 | « chrome_elf/blacklist/blacklist.cc ('k') | components/crash/content/app/hard_error_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/virtual_driver/win/install/setup.cc
diff --git a/cloud_print/virtual_driver/win/install/setup.cc b/cloud_print/virtual_driver/win/install/setup.cc
index 90322583a4494c2e34e1f5e7bea8466ce27478ea..c7fc3a5ef0a85c40dcbc717f50537312f017e365 100644
--- a/cloud_print/virtual_driver/win/install/setup.cc
+++ b/cloud_print/virtual_driver/win/install/setup.cc
@@ -193,7 +193,7 @@ UINT CALLBACK CabinetCallback(PVOID data,
if (notification == SPFILENOTIFY_FILEINCABINET) {
FILE_IN_CABINET_INFO* info =
reinterpret_cast<FILE_IN_CABINET_INFO*>(param1);
- for (int i = 0; i < arraysize(kDependencyList); i++) {
+ for (size_t i = 0; i < arraysize(kDependencyList); i++) {
base::FilePath base_name(info->NameInCabinet);
base_name = base_name.BaseName();
if (base::FilePath::CompareEqualIgnoreCase(base_name.value().c_str(),
« no previous file with comments | « chrome_elf/blacklist/blacklist.cc ('k') | components/crash/content/app/hard_error_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698