summaryrefslogtreecommitdiff
path: root/src/c
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
commitf6b8b7371d649cdb8ac35048ea5e57a2a3ebf55d (patch)
treefb4f100d6f3c30c642fe95df07b6e20e5200972b /src/c
parent6c6f34aa96047ab6785a783c833dacd110966f06 (diff)
More casting of isprint() arguments
Diffstat (limited to 'src/c')
-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);