mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:24:15 +03:00
use int "subscripts" to prevent warnings from picky compilers
This commit is contained in:
parent
09c8f558f7
commit
da3ecc91f8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue