aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/split.c')
-rw-r--r--src/cmd/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/split.c b/src/cmd/split.c
index c4025e20..e758786c 100644
--- a/src/cmd/split.c
+++ b/src/cmd/split.c
@@ -166,7 +166,7 @@ fold(char *s, int n)
fline = realloc(fline,n+1);
linesize = n+1;
}
- for(t=fline; *t++ = tolower(*s++); )
+ for(t=fline; *t++ = tolower((uchar)*s++); )
continue;
/* we assume the 'A'-'Z' only appear as themselves
* in a utf encoding.