From: Daniel Stenberg Date: Fri, 16 Sep 2005 06:14:30 +0000 (+0000) Subject: use int "subscripts" to prevent warnings from picky compilers X-Git-Tag: curl-7_15_0~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da3ecc91f8e00c33b1d0dc4395c30407b4f44ce0;p=curl use int "subscripts" to prevent warnings from picky compilers --- diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index 27876ba0f..645a9c347 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -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);