From: Robin Dunn Date: Thu, 23 Sep 2004 22:01:08 +0000 (+0000) Subject: Compile fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f565c05e6b8103894a5e0efac315dbd20bc5de33?ds=inline Compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 3ea7d35fbd..488b28e62b 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -1412,7 +1412,7 @@ void GSocket::Detected_Write() m_establishing = false; - getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, (int*) &len); + getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, &len); if (error) {