diff --git a/appl/telnet/telnet/telnet.c b/appl/telnet/telnet/telnet.c index dd7ab50bf..5db76bb2d 100644 --- a/appl/telnet/telnet/telnet.c +++ b/appl/telnet/telnet/telnet.c @@ -583,7 +583,7 @@ mklist(char *buf, char *name) if ((c == ' ') || !ISASCII(c)) n = 1; else if (islower((unsigned char)c)) - *cp = toupper(c); + *cp = toupper((unsigned char)c); } /*