X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3cf8dca335f4a364a84c6144d4747c2429575a4..6c2cd2a2116c5eff1646e0acb7cad2c887300300:/src/msw/gsocket.cpp 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;