use int "subscripts" to prevent warnings from picky compilers
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2005 06:14:30 +0000 (06:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2005 06:14:30 +0000 (06:14 +0000)
tests/server/tftpd.c

index 27876ba..645a9c3 100644 (file)
@@ -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);