aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/libntlmconnect.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-22 21:07:06 +0200
committerYang Tse <yangsita@gmail.com>2013-07-22 21:40:45 +0200
commit0f4ba89ffdf93ed7883b4a1f53f1c383df4fcfad (patch)
tree971bb42e09b3398c94fc8fcdcc5eebdb1e9444f3 /tests/libtest/libntlmconnect.c
parentedeb1ae65f903b216363dd4200ce33418dfd4eb4 (diff)
libtest: fix data type of some *_setopt() 'long' arguments
Diffstat (limited to 'tests/libtest/libntlmconnect.c')
-rw-r--r--tests/libtest/libntlmconnect.c8
1 files changed, 4 insertions, 4 deletions
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(;;) {