mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:13:31 +03:00
fix compiler warning
This commit is contained in:
parent
bcfc7d90d1
commit
5396121595
1 changed files with 1 additions and 1 deletions
|
|
@ -2262,7 +2262,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
if(subletter == 'b') {
|
||||
/* forced binary */
|
||||
err = file2memory(&postdata, &size, file);
|
||||
config->postfieldsize = size;
|
||||
config->postfieldsize = (curl_off_t)size;
|
||||
}
|
||||
else
|
||||
err = file2string(&postdata, file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue