]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.cpp
don't use deprecate SetClippingRegion(wxRegion)
[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)
   {
-    if (isdigit(port[0]))
+    if (isdigit((unsigned char) port[0]))
     {
       int port_int;