summaryrefslogtreecommitdiffstats
path: root/base/process_util_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 21:03:17 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 21:03:17 +0000
commit5a3b9149085f033097663a63c90e152051fd6c56 (patch)
tree4e0ed4ceabd2ce7b7fd7ed2c9168f7641c5ad8f3 /base/process_util_unittest.cc
parentc5874079454b61b597de2258c4256d5008183b1a (diff)
downloadchromium_src-5a3b9149085f033097663a63c90e152051fd6c56.zip
chromium_src-5a3b9149085f033097663a63c90e152051fd6c56.tar.gz
chromium_src-5a3b9149085f033097663a63c90e152051fd6c56.tar.bz2
Revert "Fix a ton of compiler warnings."
This reverts commit r24792. TBR=estade Review URL: http://codereview.chromium.org/179028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_unittest.cc')
-rw-r--r--base/process_util_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc
index 6f74daf..b75bdb8 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));