summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 13:45:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 13:45:00 (GMT)
commit96d0eb27e9e47355d2a75e962cda827b769008f5 (patch)
treebb49be678329696d1a085aa053c1457940a37127 /Utilities/cmxmlrpc
parentcd46fcaaf9a714c448ee04334706b6e2c39f4aba (diff)
downloadCMake-96d0eb27e9e47355d2a75e962cda827b769008f5.zip
CMake-96d0eb27e9e47355d2a75e962cda827b769008f5.tar.gz
CMake-96d0eb27e9e47355d2a75e962cda827b769008f5.tar.bz2
COMP: Remove warnings
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_strutil.c2
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_support.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_strutil.c b/Utilities/cmxmlrpc/xmlrpc_strutil.c
index 8b4ca5d..21f9c13 100644
--- a/Utilities/cmxmlrpc/xmlrpc_strutil.c
+++ b/Utilities/cmxmlrpc/xmlrpc_strutil.c
@@ -30,7 +30,7 @@ xmlrpc_makePrintable(const char * const input) {
inputCursor < inputLength;
++inputCursor) {
- if (isprint(input[inputCursor]))
+ if (isprint((int)(input[inputCursor])))
output[outputCursor++] = input[inputCursor];
else if (input[inputCursor] == '\n') {
output[outputCursor++] = '\\';
diff --git a/Utilities/cmxmlrpc/xmlrpc_support.c b/Utilities/cmxmlrpc/xmlrpc_support.c
index 1708e7a..4b0923a 100644
--- a/Utilities/cmxmlrpc/xmlrpc_support.c
+++ b/Utilities/cmxmlrpc/xmlrpc_support.c
@@ -355,7 +355,7 @@ xmlrpc_traceXml(const char * const label,
nonPrintableCount = 0; /* Initial value */
for (i = 0; i < xmlLength; ++i) {
- if (!isprint(xml[i]) && xml[i] != '\n' && xml[i] != '\r')
+ if (!isprint((int)(xml[i])) && xml[i] != '\n' && xml[i] != '\r')
++nonPrintableCount;
}
if (nonPrintableCount > 0)