aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-08-06 13:23:00 +0000
committerGunter Knauf <gk@gknw.de>2009-08-06 13:23:00 +0000
commit0cf6721898af96eb8646fc51262da1b2af128f3a (patch)
treec0a4eceaf5598cdf937b3d855a4a7afff9ac2bbd /src
parent97c8bc975749dc9675ac6fc6278a617315d7ecaf (diff)
added a cast to silent compiler warning with 64bit systems.
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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