From: Dan Fandrich Date: Wed, 14 Oct 2015 20:00:09 +0000 (+0200) Subject: test1531: case the size to fix the test on non-largefile builds X-Git-Tag: curl-7_46_0~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=854976ad7b049e3a758d3d0ec33d5c998e36e5af;p=thirdparty%2Fcurl.git test1531: case the size to fix the test on non-largefile builds --- diff --git a/tests/libtest/lib1531.c b/tests/libtest/lib1531.c index 5df34814b6..a0612a9d90 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 */