aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib505.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c
index 6945598c1..0efaf76cc 100644
--- a/tests/libtest/lib505.c
+++ b/tests/libtest/lib505.c
@@ -92,8 +92,8 @@ CURLcode test(char *URL)
curl_easy_setopt(curl, CURLOPT_INFILE, hd_src);
/* and give the size of the upload (optional) */
- curl_easy_setopt(curl, CURLOPT_INFILESIZE,
- (long)file_info.st_size);
+ curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
+ file_info.st_size);
/* Now run off and do what you've been told! */
res = curl_easy_perform(curl);