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

Unified Diff: chrome/browser/web_applications/update_shortcut_worker_win.cc

Issue 1513043002: clang/win: Let remaining chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
Index: chrome/browser/web_applications/update_shortcut_worker_win.cc
diff --git a/chrome/browser/web_applications/update_shortcut_worker_win.cc b/chrome/browser/web_applications/update_shortcut_worker_win.cc
index 09b0051642dc9aeeb064e809efe7eae35602f242..26810eb22b851b30b247a6ddfe667539b1bf4c1e 100644
--- a/chrome/browser/web_applications/update_shortcut_worker_win.cc
+++ b/chrome/browser/web_applications/update_shortcut_worker_win.cc
@@ -154,7 +154,7 @@ void UpdateShortcutWorker::CheckExistingShortcuts() {
}
};
- for (int i = 0; i < arraysize(locations); ++i) {
+ for (size_t i = 0; i < arraysize(locations); ++i) {
base::FilePath path;
if (!PathService::Get(locations[i].location_id, &path)) {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698