(uprmtrd): Remove the unsigned char cast for cp, not necessary.

This commit is contained in:
Ron Koenderink 2005-05-27 12:16:57 +00:00
parent 801d32783d
commit 65cbb148b1

View file

@ -341,7 +341,7 @@ uprmptrd(char *prompt, char *str /* str is message text */, int size)
if (*str == 0)
return 1;
for(cp = (unsigned char *)str; 0 != *cp; ++cp) {
for(cp = str; 0 != *cp; ++cp) {
if ((*cp >= 0x0 && *cp < 0x20 && *cp != '\t') ||
*cp == 0x7f)
*cp = '?';