diff options
Diffstat (limited to 'tests/libtest/lib1526.c')
-rw-r--r-- | tests/libtest/lib1526.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1526.c b/tests/libtest/lib1526.c index b2d2a4118..704ae497d 100644 --- a/tests/libtest/lib1526.c +++ b/tests/libtest/lib1526.c @@ -85,7 +85,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); test_setopt(curl, CURLOPT_READFUNCTION, read_callback); test_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, 1L); - test_setopt(curl, CURLOPT_INFILESIZE, strlen(data)); + test_setopt(curl, CURLOPT_INFILESIZE, (long)strlen(data)); res = curl_easy_perform(curl); |