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

Unified Diff: content/common/sandbox_win.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 | « content/common/font_warmup_win_unittest.cc ('k') | crypto/symmetric_key_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_win.cc
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index a3554a23e8d5b18cbe6c8e1482c45274445d702b..856d12227a1835e244264b0a9c38c399f0b6d46c 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -814,7 +814,7 @@ base::Process StartSandboxedProcess(
delegate->PostSpawnTarget(target.process_handle());
- CHECK(ResumeThread(target.thread_handle()) != -1);
+ CHECK(ResumeThread(target.thread_handle()) != static_cast<DWORD>(-1));
return base::Process(target.TakeProcessHandle());
}
« no previous file with comments | « content/common/font_warmup_win_unittest.cc ('k') | crypto/symmetric_key_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698