From 5396121595acc9c346ecd211263db50a879d6927 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Jan 2008 18:03:07 +0000 Subject: [PATCH] fix compiler warning --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index b7e06e436..e7c14a26f 100644 --- a/src/main.c +++ b/src/main.c @@ -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);