mirror of
https://github.com/curl/curl.git
synced 2026-06-03 14:14:15 +03:00
added a cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
97c8bc9757
commit
0cf6721898
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue