diff options
-rw-r--r-- | tests/server/tftpd.c | 4 |
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); |