use int "subscripts" to prevent warnings from picky compilers

This commit is contained in:
Daniel Stenberg 2005-09-16 06:14:30 +00:00
parent 09c8f558f7
commit da3ecc91f8
1 changed files with 2 additions and 2 deletions

View File

@ -588,8 +588,8 @@ again:
fprintf(test->server, "filename: %s\n", filename);
for (cp = mode; *cp; cp++)
if (isupper(*cp))
*cp = tolower(*cp);
if (isupper((int)*cp))
*cp = tolower((int)*cp);
/* store input protocol */
fprintf(test->server, "mode: %s\n", mode);