OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/register.c versions 1.8 and 1.9
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/register.c 1.8 -> 1.9

--- register.c   2001/08/02 10:51:57     1.8
+++ register.c   2001/08/08 11:50:16     1.9
@@ -40,7 +40,7 @@
     xds_check_parameter(engine != NULL);
     for(pos = 0; name[pos] != '\0'; ++pos)
         {
-        if (!isalnum(name[pos]) && name[pos] != '-' && name[pos] != '_')
+        if (!isalnum((int)name[pos]) && name[pos] != '-' && name[pos] != '_')
             return XDS_ERR_INVALID_ARG;
         }
 

CVSTrac 2.0.1