COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2005-03-03 08:45:00 -05:00
parent cd46fcaaf9
commit 96d0eb27e9
2 changed files with 2 additions and 2 deletions

View File

@ -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++] = '\\';

View File

@ -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)