Commit b0b50bd1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecast the argument to isspace() to an int to prevent warnings on some

compilers
parent f2c60574
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;