Commit 0cf67218 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

added a cast to silent compiler warning with 64bit systems.

parent 97c8bc97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2347,7 +2347,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
            postdata=strdup("");
          }
          else {
            char *enc = curl_easy_escape(config->easy, postdata, size);
            char *enc = curl_easy_escape(config->easy, postdata, (int)size);
            free(postdata); /* no matter if it worked or not */
            if(enc) {
              /* now make a string with the name from above and append the