* telnet.c (mklist): Cast argument to islower()/toupper() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13381
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-18 Ezra Peisach <epeisach@mit.edu>
+
+ * commands.c: Cast argument to isspace() to int.
+
+ * telnet.c (mklist): Cast argument to islower()/toupper() to int.
+
2001-06-08 Ezra Peisach <epeisach@mit.edu>
* main.c: Include unistd.h (if present) for getopt() prototype.
}
while ((c = *cp)) {
register int inquote = 0;
- while (isspace(c))
+ while (isspace((int) c))
c = *++cp;
if (c == '\0')
break;
} else if (c == '\'') {
inquote = '\'';
continue;
- } else if (isspace(c))
+ } else if (isspace((int) c))
break;
}
*cp2++ = c;
if (line[0] == '#')
continue;
if (gotmachine) {
- if (!isspace(line[0]))
+ if (!isspace((int) line[0]))
gotmachine = 0;
}
if (gotmachine == 0) {
- if (isspace(line[0]))
+ if (isspace((int) line[0]))
continue;
if (strncasecmp(line, m1, l1) == 0)
strncpy(line, &line[l1], sizeof(line) - l1);
*/
if ((c == ' ') || !isascii(c))
n = 1;
- else if (islower(c))
- *cp = toupper(c);
+ else if (islower((int) c))
+ *cp = toupper((int) c);
}
/*