X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/691aba016bccb44aa30cb7fdd9c232a85d56c4b2..e8508ea8a890c90e6e72b2579780ca2ccbf40270:/src/msw/gsockmsw.c diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index c966cfffc1..32131c214a 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -188,7 +188,7 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd, { EnterCriticalSection(&critical); socket = socketList[(uMsg - WM_USER)]; - event = -1; + event = (GSocketEvent) -1; cback = NULL; data = NULL;