fixed MSVC6 compiler warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth 2004-08-06 13:23:35 +00:00
parent eec462f8b8
commit 16abe93eb4

View File

@ -152,7 +152,7 @@ inline int GSocket_Write(GSocket *socket, const char *buffer, int size)
inline GSocketEventFlags GSocket_Select(GSocket *socket, GSocketEventFlags flags)
{ return socket->Select(flags); }
inline void GSocket_SetNonBlocking(GSocket *socket, int non_block)
{ socket->SetNonBlocking(non_block); }
{ socket->SetNonBlocking(!!non_block); }
inline void GSocket_SetTimeout(GSocket *socket, unsigned long millisec)
{ socket->SetTimeout(millisec); }
inline GSocketError GSocket_GetError(GSocket *socket)