summaryrefslogtreecommitdiff
path: root/contrib/transport-sample/ThriftCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/transport-sample/ThriftCommon.cpp')
-rw-r--r--contrib/transport-sample/ThriftCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/transport-sample/ThriftCommon.cpp b/contrib/transport-sample/ThriftCommon.cpp
index 60ebf7a00..2b676a88e 100644
--- a/contrib/transport-sample/ThriftCommon.cpp
+++ b/contrib/transport-sample/ThriftCommon.cpp
@@ -23,7 +23,7 @@ namespace thriftcommon
(int)boost::shared_dynamic_cast<TPipeServer>(transport)->getClientWrtPipeHandle());
//spawn the child process
- if (!CreateProcessA(NULL, handles, NULL,NULL,TRUE,0,NULL,NULL,&si,&pi))
+ if (!CreateProcessA(nullptr, handles, nullptr,nullptr,TRUE,0,nullptr,nullptr,&si,&pi))
{
GlobalOutput.perror("TPipeServer CreateProcess failed, GLE=", GetLastError());
return false;