X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2804f77d88eb478f85a281b19d87e38cd96e0d0c..f369c7c2841c0534424f2c184783c1a2070012cf:/src/msw/gsocket.cpp diff --git a/src/msw/gsocket.cpp b/src/msw/gsocket.cpp index 18d83b0434..8cc501a98e 100644 --- a/src/msw/gsocket.cpp +++ b/src/msw/gsocket.cpp @@ -58,6 +58,9 @@ #if wxUSE_SOCKETS #include "wx/gsocket.h" +#include "wx/link.h" + +wxFORCE_LINK_MODULE(gsockmsw) #ifdef __WXWINCE__ #ifndef isdigit @@ -1462,7 +1465,7 @@ GSocketError GAddress_INET6_SetPortName(GAddress *address, const char *port, se = getservbyname(port, protocol); if (!se) { - if (isdigit(port[0])) + if (isdigit((unsigned char) port[0])) { int port_int;