Mercurial > urweb
changeset 1150:151837581b5e
More casting of isprint() arguments
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 06 Feb 2010 13:53:26 -0500 |
parents | 15767031950c |
children | de48dc2c9ee8 |
files | src/c/urweb.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);