diff options
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/urweb.c | 6 |
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); |