X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f565c05e6b8103894a5e0efac315dbd20bc5de33..5f47669009f9519f55a5ce1eae92a3d29a88a3aa:/src/unix/gsocket.cpp 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) {