Fix warning on OSX - its on int on mac/msw and a socklen_t on others

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-09-23 22:09:34 +00:00
parent f565c05e6b
commit 7d065a0afe

View File

@@ -1412,7 +1412,7 @@ void GSocket::Detected_Write()
m_establishing = false;
getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, &len);
getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, (SOCKLEN_T*) &len);
if (error)
{