]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix warning on OSX - its on int on mac/msw and a socklen_t on others
authorRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 22:09:34 +0000 (22:09 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 23 Sep 2004 22:09:34 +0000 (22:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.cpp

index 488b28e62b94acf1b29462bbd90845d6992a88e7..17f74feed96b00b0e2ab826ae2a49db14463d639 100644 (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)
     {