Skip to content
Snippets Groups Projects
Commit 53961215 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning

parent bcfc7d90
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment