aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-16 06:14:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-16 06:14:30 +0000
commitda3ecc91f8e00c33b1d0dc4395c30407b4f44ce0 (patch)
tree89a4578c912b6a5af9addbf3cc512a3767f365ad /tests
parent09c8f558f722f897ba234f0f5c43731e500c9763 (diff)
use int "subscripts" to prevent warnings from picky compilers
Diffstat (limited to 'tests')
-rw-r--r--tests/server/tftpd.c4
1 files changed, 2 insertions, 2 deletions
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);