summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-02-06 13:53:26 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-02-06 13:53:26 -0500
commit0771f5711f1bfcd0b958049957f91289622e5f85 (patch)
treefb4f100d6f3c30c642fe95df07b6e20e5200972b
parentb358e014f7e392351ab9209aadb16c466c84f016 (diff)
More casting of isprint() arguments
-rw-r--r--src/c/urweb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 40cd18d2..45871a47 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -2230,7 +2230,7 @@ uw_Basis_string uw_Basis_sqlifyString(uw_context ctx, uw_Basis_string s) {
*s2++ = '\\';
break;
default:
- if (isprint(c))
+ if (isprint((int)c))
*s2++ = c;
else if (uw_Estrings) {
sprintf(s2, "\\%03o", c);
@@ -2273,7 +2273,7 @@ uw_Basis_string uw_Basis_sqlifyChar(uw_context ctx, uw_Basis_char c) {
*s2++ = '\\';
break;
default:
- if (isprint(c))
+ if (isprint((int)c))
*s2++ = c;
else if (uw_Estrings) {
sprintf(s2, "\\%03o", c);
@@ -2321,7 +2321,7 @@ uw_Basis_string uw_Basis_sqlifyBlob(uw_context ctx, uw_Basis_blob b) {
*s2++ = '\\';
break;
default:
- if (isprint(c))
+ if (isprint((int)c))
*s2++ = c;
else if (uw_Estrings) {
sprintf(s2, "\\\\%03o", c);