fix compiler warning

This commit is contained in:
Yang Tse 2008-01-17 18:03:07 +00:00
parent bcfc7d90d1
commit 5396121595
1 changed files with 1 additions and 1 deletions

View File

@ -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);