]> granicus.if.org Git - curl/commitdiff
typecast the argument to isspace() to an int to prevent warnings on some
authorDaniel Stenberg <daniel@haxx.se>
Thu, 30 Jan 2003 06:06:24 +0000 (06:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Jan 2003 06:06:24 +0000 (06:06 +0000)
compilers

lib/transfer.c

index d977013b1371cccf263b765eb3f385ab9332d118..929d6ab25d54b27d9bf689c30388be3ca2adcf81 100644 (file)
@@ -573,7 +573,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
 
               if(end) {
                 /* skip all trailing space letters */
-                for(; isspace(*end) && (end > start); end--);
+                for(; isspace((int)*end) && (end > start); end--);
 
                 /* get length of the type */
                 len = end-start+1;