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

Unified Diff: sandbox/win/src/process_policy_test.cc

Issue 1833863004: process_policy_test.cc: Fix mixed-sign comparison warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/process_policy_test.cc
diff --git a/sandbox/win/src/process_policy_test.cc b/sandbox/win/src/process_policy_test.cc
index 28d5ac26e136a9c6128f280a34412cce42364e52..779cd156b7c7be093b02f80b27b38ceb9b502f7c 100644
--- a/sandbox/win/src/process_policy_test.cc
+++ b/sandbox/win/src/process_policy_test.cc
@@ -416,7 +416,8 @@ TEST(ProcessPolicyTest, CreateProcessAW) {
// Tests that the broker correctly handles a process crashing within the job.
TEST(ProcessPolicyTest, CreateProcessCrashy) {
TestRunner runner;
- EXPECT_EQ(STATUS_BREAKPOINT, runner.RunTest(L"Process_Crash"));
+ EXPECT_EQ(static_cast<int>(STATUS_BREAKPOINT),
+ runner.RunTest(L"Process_Crash"));
}
TEST(ProcessPolicyTest, OpenToken) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698