aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-10-14 22:00:09 +0200
committerDan Fandrich <dan@coneharvesters.com>2015-10-14 22:00:09 +0200
commit854976ad7b049e3a758d3d0ec33d5c998e36e5af (patch)
tree81c73c1fafc7c45ee39e7bf7a919070071fc34c7
parent14d5a86b3e63c53e10ffcf526e0e7e75702fc82e (diff)
test1531: case the size to fix the test on non-largefile builds
-rw-r--r--tests/libtest/lib1531.c2
1 files changed, 1 insertions, 1 deletions
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 */