From 7d065a0afee47090a2075e0c5b8d483568d6dd96 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Thu, 23 Sep 2004 22:09:34 +0000 Subject: [PATCH] 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 --- src/unix/gsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 488b28e62b..17f74feed9 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, &len); + getsockopt(m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, (SOCKLEN_T*) &len); if (error) { -- 2.50.0