Skip to content

Commit

Permalink
#5346: Another attempt to fix the SOCKET initialisation, the recent c…
Browse files Browse the repository at this point in the history
…ommit was breaking the Windows build.
  • Loading branch information
codereader committed Sep 30, 2020
1 parent 9b67042 commit 80d60d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dm.gameconnection/clsocket/PassiveSocket.cpp
Expand Up @@ -216,7 +216,7 @@ CActiveSocket *CPassiveSocket::Accept()
{
uint32 nSockLen;
CActiveSocket *pClientSocket = NULL;
SOCKET socket{CSimpleSocket::SocketError};
SOCKET socket = static_cast<SOCKET>(CSimpleSocket::SocketError);

if (m_nSocketType != CSimpleSocket::SocketTypeTcp)
{
Expand Down

0 comments on commit 80d60d4

Please sign in to comment.