Index: base/process_util_unittest.cc |
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc |
index 6f74daf93099b20518557affe194276bed2e3954..b75bdb8e6a9112feb2a09fe85c7c2d4595313e7e 100644 |
--- a/base/process_util_unittest.cc |
+++ b/base/process_util_unittest.cc |
@@ -41,7 +41,7 @@ MULTIPROCESS_TEST_MAIN(SimpleChildProcess) { |
TEST_F(ProcessUtilTest, SpawnChild) { |
ProcessHandle handle = this->SpawnChild(L"SimpleChildProcess"); |
- ASSERT_NE(0, handle); |
+ ASSERT_NE(static_cast<ProcessHandle>(NULL), handle); |
EXPECT_TRUE(WaitForSingleProcess(handle, 5000)); |
base::CloseProcessHandle(handle); |
} |
@@ -62,7 +62,7 @@ MULTIPROCESS_TEST_MAIN(SlowChildProcess) { |
TEST_F(ProcessUtilTest, KillSlowChild) { |
remove("SlowChildProcess.die"); |
ProcessHandle handle = this->SpawnChild(L"SlowChildProcess"); |
- ASSERT_NE(0, handle); |
+ ASSERT_NE(static_cast<ProcessHandle>(NULL), handle); |
FILE *fp = fopen("SlowChildProcess.die", "w"); |
fclose(fp); |
EXPECT_TRUE(base::WaitForSingleProcess(handle, 5000)); |