(pop_parse): cast when calling is* to get rid of a warning

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5530 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-03-13 21:17:27 +00:00
parent f2b691ad24
commit 6d052deb60

View File

@@ -22,7 +22,7 @@ pop_parse(POP *p, char *buf)
for (mp = buf, i = 0; ; i++) { for (mp = buf, i = 0; ; i++) {
/* Skip leading spaces and tabs in the message */ /* Skip leading spaces and tabs in the message */
while (isspace(*mp))mp++; while (isspace((unsigned char)*mp))mp++;
/* Are we at the end of the message? */ /* Are we at the end of the message? */
if (*mp == 0) break; if (*mp == 0) break;
@@ -37,7 +37,7 @@ pop_parse(POP *p, char *buf)
p->pop_parm[i] = mp; p->pop_parm[i] = mp;
/* Search for the first space character (end of the token) */ /* Search for the first space character (end of the token) */
while (!isspace(*mp) && *mp) mp++; while (!isspace((unsigned char)*mp) && *mp) mp++;
/* Delimit the token with a null */ /* Delimit the token with a null */
if (*mp) *mp++ = 0; if (*mp) *mp++ = 0;