diff options
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_parse.c')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_parse.c b/Utilities/cmxmlrpc/xmlrpc_parse.c index ec14773..0ca2f7b 100644 --- a/Utilities/cmxmlrpc/xmlrpc_parse.c +++ b/Utilities/cmxmlrpc/xmlrpc_parse.c @@ -123,7 +123,7 @@ xmlrpc_atoi(xmlrpc_env *env, char *str, size_t stringLength, i = 0; /* Check for leading white space. */ - if (isspace(str[0])) + if (isspace((int)(str[0]))) XMLRPC_FAIL1(env, XMLRPC_PARSE_ERROR, "\"%s\" must not contain whitespace", str); @@ -171,7 +171,7 @@ xmlrpc_atod(xmlrpc_env *env, char *str, size_t stringLength) d = 0.0; /* Check for leading white space. */ - if (isspace(str[0])) + if (isspace((int)(str[0]))) XMLRPC_FAIL1(env, XMLRPC_PARSE_ERROR, "\"%s\" must not contain whitespace", str); |