From 44429c46c070d8773e950167ca57c66547968cce Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 27 Aug 2003 17:45:26 -0400 Subject: [PATCH] ENH: remove warnings from use of NULL --- Source/cmWin32ProcessExecution.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx index b7eaea728..ddd1b4985 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;