X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3cf8dca335f4a364a84c6144d4747c2429575a4..98225d0279de4d074d306b40683667670333be51:/src/msw/gsocket.cpp?ds=sidebyside diff --git a/src/msw/gsocket.cpp b/src/msw/gsocket.cpp index 2830549071..8cc501a98e 100644 --- a/src/msw/gsocket.cpp +++ b/src/msw/gsocket.cpp @@ -1465,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;