From 854976ad7b049e3a758d3d0ec33d5c998e36e5af Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 14 Oct 2015 22:00:09 +0200 Subject: test1531: case the size to fix the test on non-largefile builds --- tests/libtest/lib1531.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib1531.c b/tests/libtest/lib1531.c index 5df34814b..a0612a9d9 100644 --- a/tests/libtest/lib1531.c +++ b/tests/libtest/lib1531.c @@ -49,7 +49,7 @@ int test(char *URL) /* set the options (I left out a few, you'll get the point anyway) */ curl_easy_setopt(easy, CURLOPT_URL, URL); - curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, testDataSize); + curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)testDataSize); curl_easy_setopt(easy, CURLOPT_POSTFIELDS, testData); /* we start some action by calling perform right away */ -- cgit v1.2.1