summaryrefslogtreecommitdiff
path: root/Source/cmWin32ProcessExecution.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-08-27 17:45:26 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2003-08-27 17:45:26 -0400
commit44429c46c070d8773e950167ca57c66547968cce (patch)
tree162f062bc3533356dd752518615e8b3b4f36e88b /Source/cmWin32ProcessExecution.cxx
parent9f8444d7f60e8cc99a0516de0d03a98dd73f8991 (diff)
downloadcmake-44429c46c070d8773e950167ca57c66547968cce.tar.gz
ENH: remove warnings from use of NULL
Diffstat (limited to 'Source/cmWin32ProcessExecution.cxx')
-rw-r--r--Source/cmWin32ProcessExecution.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx
index b7eaea7280..ddd1b49857 100644
--- a/Source/cmWin32ProcessExecution.cxx
+++ b/Source/cmWin32ProcessExecution.cxx
@@ -655,7 +655,7 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
hChildStdoutWr,
&hProcess, m_HideWindows,
m_Output))
- return NULL;
+ return 0;
}
else
{
@@ -667,7 +667,7 @@ bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
hChildStderrWr,
&hProcess, m_HideWindows,
m_Output))
- return NULL;
+ return 0;
}
/*
@@ -882,9 +882,9 @@ int cmWin32ProcessExecution::Windows9xHack(const char* command)
bRet = CreateProcess(
app, cmd,
- NULL, NULL,
+ 0, 0,
TRUE, 0,
- NULL, NULL,
+ 0, 0,
&si, &pi
);
delete [] cmd;