summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_support.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_support.c2
1 files changed, 1 insertions, 1 deletions
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)