]> git.saurik.com Git - wxWidgets.git/commitdiff
OK - Robin's right, it is already a SOCKLEN_T
authorRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 23:57:37 +0000 (23:57 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 23:57:37 +0000 (23:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.cpp

index 17f74feed96b00b0e2ab826ae2a49db14463d639..488b28e62b94acf1b29462bbd90845d6992a88e7 100644 (file)
@@ -1412,7 +1412,7 @@ void GSocket::Detected_Write()
 
     m_establishing = false;
 
-    getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, (SOCKLEN_T*) &len);
+    getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, &len);
 
     if (error)
     {