X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/691aba016bccb44aa30cb7fdd9c232a85d56c4b2..fb35f0c79ca42d888391f0394dec56d04cf71890:/src/msw/gsocket.c?ds=inline diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index 7fb9f308d2..4490c43ada 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -513,7 +513,7 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream) /* sck->m_error is set in _GSocket_Connect_Timeout */ } - return err; + return (GSocketError) err; } /* If connect failed with EWOULDBLOCK and the GSocket object