aboutsummaryrefslogtreecommitdiff
path: root/src/lib9
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9')
-rw-r--r--src/lib9/encodefmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/encodefmt.c b/src/lib9/encodefmt.c
index 7c4a5898..94458097 100644
--- a/src/lib9/encodefmt.c
+++ b/src/lib9/encodefmt.c
@@ -57,7 +57,7 @@ encodefmt(Fmt *f)
rv = enc16(out, len, b, ilen);
if(rv >= 0 && (f->flags & FmtLong))
for(p = buf; *p; p++)
- *p = tolower(*p);
+ *p = tolower((uchar)*p);
break;
default:
rv = -1;