X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/src/msw/gsockmsw.c?ds=sidebyside diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index 849752e7d6..e268519721 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -137,7 +137,7 @@ void GSocket_Cleanup(void) /* Per-socket GUI initialization / cleanup */ -bool _GSocket_GUI_Init(GSocket *socket) +int _GSocket_GUI_Init(GSocket *socket) { int i; @@ -283,6 +283,6 @@ void _GSocket_Disable_Events(GSocket *socket) * Translation unit shouldn't be empty, so include this typedef to make the * compiler (VC++ 6.0, for example) happy */ -typedef (*wxDummy)(); +typedef void (*wxDummy)(); #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */