From: Gunter Knauf Date: Thu, 6 Aug 2009 13:23:00 +0000 (+0000) Subject: added a cast to silent compiler warning with 64bit systems. X-Git-Tag: curl-7_19_6~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cf6721898af96eb8646fc51262da1b2af128f3a;p=thirdparty%2Fcurl.git added a cast to silent compiler warning with 64bit systems. --- diff --git a/src/main.c b/src/main.c index ddca733228..c9ccdf292e 100644 --- a/src/main.c +++ b/src/main.c @@ -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