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:
Robin Dunn
2004-08-07 03:04:44 +00:00
parent e830a6a64d
commit 9a7e4a56b6

View File

@@ -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;
}