From 16abe93eb44fe991b8b618bc1049f56d68903297 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Fri, 6 Aug 2004 13:23:35 +0000 Subject: [PATCH] fixed MSVC6 compiler warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/gsockmsw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 53b4a6f6bc..fad08dc3f6 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -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) -- 2.50.0