summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-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)