]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.cpp
test for __MINGW64__ in the huge files support section
[wxWidgets.git] / src / msw / gsocket.cpp
index 2830549071d8da88cca57b19743582b102da8b62..8cc501a98ecf917a8cabb42a2dbaa29591ee69a4 100644 (file)
@@ -1465,7 +1465,7 @@ GSocketError GAddress_INET6_SetPortName(GAddress *address, const char *port,
   se = getservbyname(port, protocol);
   if (!se)
   {
   se = getservbyname(port, protocol);
   if (!se)
   {
-    if (isdigit(port[0]))
+    if (isdigit((unsigned char) port[0]))
     {
       int port_int;
 
     {
       int port_int;