mirror of https://github.com/moparisthebest/curl
fix compiler warning
This commit is contained in:
parent
bcfc7d90d1
commit
5396121595
|
@ -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…
Reference in New Issue