aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib578.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib578.c')
-rw-r--r--tests/libtest/lib578.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib578.c b/tests/libtest/lib578.c
index 9603b58d7..41b23db34 100644
--- a/tests/libtest/lib578.c
+++ b/tests/libtest/lib578.c
@@ -77,7 +77,7 @@ int test(char *URL)
#endif
/* Set the expected POST size */
- test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size);
+ test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)data_size);
test_setopt(curl, CURLOPT_POSTFIELDS, data);
/* we want to use our own progress function */