At least correct the compile error until we decide what to for real.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1131,7 +1131,7 @@ void GSocket::UnsetCallback(GSocketEventFlags flags)
|
||||
GSocketError GSocket::GetSockOpt(int level, int optname,
|
||||
void *optval, int *optlen)
|
||||
{
|
||||
if (getsockopt(m_fd, level, optname, optval, optlen) == 0)
|
||||
if (getsockopt(m_fd, level, optname, optval, (SOCKLEN_T*)optlen) == 0)
|
||||
{
|
||||
return GSOCK_NOERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user