aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);