From 0cf6721898af96eb8646fc51262da1b2af128f3a Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Thu, 6 Aug 2009 13:23:00 +0000 Subject: added a cast to silent compiler warning with 64bit systems. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index ddca73322..c9ccdf292 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 -- cgit v1.2.3