# HG changeset patch # User Adam Chlipala # Date 1265482406 18000 # Node ID 151837581b5e504794587481986f53ae2e57c0f8 # Parent 15767031950c9d1668a150a765c5563fd3ce2e12 More casting of isprint() arguments diff -r 15767031950c -r 151837581b5e src/c/urweb.c --- a/src/c/urweb.c Sat Feb 06 13:46:17 2010 -0500 +++ b/src/c/urweb.c Sat Feb 06 13:53:26 2010 -0500 @@ -2230,7 +2230,7 @@ *s2++ = '\\'; break; default: - if (isprint(c)) + if (isprint((int)c)) *s2++ = c; else if (uw_Estrings) { sprintf(s2, "\\%03o", c); @@ -2273,7 +2273,7 @@ *s2++ = '\\'; break; default: - if (isprint(c)) + if (isprint((int)c)) *s2++ = c; else if (uw_Estrings) { sprintf(s2, "\\%03o", c); @@ -2321,7 +2321,7 @@ *s2++ = '\\'; break; default: - if (isprint(c)) + if (isprint((int)c)) *s2++ = c; else if (uw_Estrings) { sprintf(s2, "\\\\%03o", c);