aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/calendar.c')
-rw-r--r--src/cmd/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/calendar.c b/src/cmd/calendar.c
index ba86ab36..778c7608 100644
--- a/src/cmd/calendar.c
+++ b/src/cmd/calendar.c
@@ -174,7 +174,7 @@ void
upper2lower(char *to, char *from, int len)
{
while(--len>0 && *from!='\0')
- *to++ = tolower(*from++);
+ *to++ = tolower((uchar)*from++);
*to = 0;
}