diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-08-27 21:45:26 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-08-27 21:45:26 (GMT) |
commit | 44429c46c070d8773e950167ca57c66547968cce (patch) | |
tree | 162f062bc3533356dd752518615e8b3b4f36e88b /Source/cmWin32ProcessExecution.cxx | |
parent | 9f8444d7f60e8cc99a0516de0d03a98dd73f8991 (diff) | |
download | CMake-44429c46c070d8773e950167ca57c66547968cce.zip CMake-44429c46c070d8773e950167ca57c66547968cce.tar.gz CMake-44429c46c070d8773e950167ca57c66547968cce.tar.bz2 |
ENH: remove warnings from use of NULL
Diffstat (limited to 'Source/cmWin32ProcessExecution.cxx')
-rw-r--r-- | Source/cmWin32ProcessExecution.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx index b7eaea7..ddd1b49 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; |