From da3ecc91f8e00c33b1d0dc4395c30407b4f44ce0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Sep 2005 06:14:30 +0000 Subject: use int "subscripts" to prevent warnings from picky compilers --- tests/server/tftpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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); -- cgit v1.2.3