summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_parse.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-02 16:04:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-02 16:04:32 (GMT)
commit66a61e9c745660491e776fdbaed6d6ca8bdd9a52 (patch)
tree477fece1ea9e717e5663e10f8c6d140d315c4498 /Utilities/cmxmlrpc/xmlrpc_parse.c
parent78d85f4af8bc77d6b429099251ca471e170f56b1 (diff)
downloadCMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.zip
CMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.tar.gz
CMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.tar.bz2
COMP: Remove more warnings
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_parse.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_parse.c4
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);