X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/691aba016bccb44aa30cb7fdd9c232a85d56c4b2..baaae89f09ece7ab8a17570ee535683b9d14aeda:/src/msw/gsocket.c 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