diff options
-rw-r--r-- | src/c/urweb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 61fee786..0b4b5846 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -2451,7 +2451,7 @@ uw_Basis_string uw_Basis_sqlifyString(uw_context ctx, uw_Basis_string s) { if (isprint((int)c)) *s2++ = c; else if (uw_Estrings) { - sprintf(s2, "\\%03o", c); + sprintf(s2, "\\%03o", (unsigned char)c); s2 += 4; } else @@ -2494,7 +2494,7 @@ uw_Basis_string uw_Basis_sqlifyChar(uw_context ctx, uw_Basis_char c) { if (isprint((int)c)) *s2++ = c; else if (uw_Estrings) { - sprintf(s2, "\\%03o", c); + sprintf(s2, "\\%03o", (unsigned char)c); s2 += 4; } else |