diff src/c/urweb.c @ 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 a62ac791f7fb
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);