COMP: Remove warnings
This commit is contained in:
parent
cd46fcaaf9
commit
96d0eb27e9
|
@ -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++] = '\\';
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue