summaryrefslogtreecommitdiff
path: root/tests/libtest/lib564.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/lib564.c
parentedeb1ae65f903b216363dd4200ce33418dfd4eb4 (diff)
downloadcurl-0f4ba89ffdf93ed7883b4a1f53f1c383df4fcfad.tar.gz
libtest: fix data type of some *_setopt() 'long' arguments
Diffstat (limited to 'tests/libtest/lib564.c')
-rw-r--r--tests/libtest/lib564.c4
1 files changed, 2 insertions, 2 deletions
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);