aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib1506.c2
-rw-r--r--tests/libtest/lib1510.c2
-rw-r--r--tests/libtest/lib564.c4
-rw-r--r--tests/libtest/lib570.c4
-rw-r--r--tests/libtest/lib571.c4
-rw-r--r--tests/libtest/lib586.c4
-rw-r--r--tests/libtest/libntlmconnect.c8
7 files changed, 14 insertions, 14 deletions
diff --git a/tests/libtest/lib1506.c b/tests/libtest/lib1506.c
index e524beb75..008a9cae1 100644
--- a/tests/libtest/lib1506.c
+++ b/tests/libtest/lib1506.c
@@ -60,7 +60,7 @@ int test(char *URL)
multi_init(m);
- multi_setopt(m, CURLMOPT_MAXCONNECTS, 3);
+ multi_setopt(m, CURLMOPT_MAXCONNECTS, 3L);
/* get NUM_HANDLES easy handles */
for(i=0; i < NUM_HANDLES; i++) {
diff --git a/tests/libtest/lib1510.c b/tests/libtest/lib1510.c
index fb57d6462..1bcf2165a 100644
--- a/tests/libtest/lib1510.c
+++ b/tests/libtest/lib1510.c
@@ -63,7 +63,7 @@ int test(char *URL)
easy_setopt(curl, CURLOPT_RESOLVE, slist);
- easy_setopt(curl, CURLOPT_MAXCONNECTS, 3);
+ easy_setopt(curl, CURLOPT_MAXCONNECTS, 3L);
/* get NUM_HANDLES easy handles */
for(i=0; i < NUM_URLS; i++) {
diff --git a/tests/libtest/lib564.c b/tests/libtest/lib564.c
index ed00e1bf6..2a0a56658 100644
--- a/tests/libtest/lib564.c
+++ b/tests/libtest/lib564.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -45,7 +45,7 @@ int test(char *URL)
easy_setopt(curl, CURLOPT_URL, URL);
easy_setopt(curl, CURLOPT_VERBOSE, 1L);
easy_setopt(curl, CURLOPT_PROXY, libtest_arg2);
- easy_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
+ easy_setopt(curl, CURLOPT_PROXYTYPE, (long)CURLPROXY_SOCKS4);
multi_init(m);
diff --git a/tests/libtest/lib570.c b/tests/libtest/lib570.c
index a9fac9915..fe10de54a 100644
--- a/tests/libtest/lib570.c
+++ b/tests/libtest/lib570.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -72,7 +72,7 @@ int test(char *URL)
goto test_cleanup;
}
- test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999);
+ test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L);
test_setopt(curl, CURLOPT_RTSP_TRANSPORT,
"RAW/RAW/UDP;unicast;client_port=3056-3057");
test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c
index ba0aa1ce4..78c1c95a3 100644
--- a/tests/libtest/lib571.c
+++ b/tests/libtest/lib571.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -135,7 +135,7 @@ int test(char *URL)
stream_uri = NULL;
test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write);
- test_setopt(curl, CURLOPT_TIMEOUT, 3);
+ test_setopt(curl, CURLOPT_TIMEOUT, 3L);
test_setopt(curl, CURLOPT_VERBOSE, 1L);
test_setopt(curl, CURLOPT_WRITEDATA, protofile);
diff --git a/tests/libtest/lib586.c b/tests/libtest/lib586.c
index 2cf04fe85..4ee0ad31c 100644
--- a/tests/libtest/lib586.c
+++ b/tests/libtest/lib586.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -109,7 +109,7 @@ static void *fire(void *ptr)
return NULL;
}
- curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(curl, CURLOPT_URL, tdata->url);
printf( "CURLOPT_SHARE\n" );
diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c
index cd507dfa1..509b6711d 100644
--- a/tests/libtest/libntlmconnect.c
+++ b/tests/libtest/libntlmconnect.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -126,9 +126,9 @@ int test(char *url)
multi_init(multi);
#ifdef USE_PIPELINING
- multi_setopt(multi, CURLMOPT_PIPELINING, 1);
- multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 5);
- multi_setopt(multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 10);
+ multi_setopt(multi, CURLMOPT_PIPELINING, 1L);
+ multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 5L);
+ multi_setopt(multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 10L);
#endif
for(;;) {