summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpAcceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/TcpAcceptor.cpp')
-rwxr-xr-xcpp/src/Ice/TcpAcceptor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/TcpAcceptor.cpp b/cpp/src/Ice/TcpAcceptor.cpp
index e601c3418db..3af1acbe40a 100755
--- a/cpp/src/Ice/TcpAcceptor.cpp
+++ b/cpp/src/Ice/TcpAcceptor.cpp
@@ -105,7 +105,7 @@ IceInternal::TcpAcceptor::getAsyncInfo(SocketOperation)
void
IceInternal::TcpAcceptor::startAccept()
{
- LPFN_ACCEPTEX AcceptEx = NULL; // a pointer to the 'AcceptEx()' function
+ LPFN_ACCEPTEX AcceptEx = ICE_NULLPTR; // a pointer to the 'AcceptEx()' function
GUID GuidAcceptEx = WSAID_ACCEPTEX; // The Guid
DWORD dwBytes;
if(WSAIoctl(_fd,
@@ -115,8 +115,8 @@ IceInternal::TcpAcceptor::startAccept()
&AcceptEx,
sizeof(AcceptEx),
&dwBytes,
- NULL,
- NULL) == SOCKET_ERROR)
+ ICE_NULLPTR,
+ ICE_NULLPTR) == SOCKET_ERROR)
{
SocketException ex(__FILE__, __LINE__);
ex.error = getSocketErrno();