]> granicus.if.org Git - curl/commitdiff
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 27876ba0f2e013e31ec5ff011bac37b6b418f526..645a9c3470499af17defd9811e0a67e3d988f47e 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);