From d31da176eb622fb386a3b657d17921403f95e45c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 22 May 2008 21:49:52 +0000 Subject: Made sure to pass longs in to curl_easy_setopt where necessary in the libtest code. --- tests/libtest/lib540.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/libtest/lib540.c') diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index 4560eb815..089fcd5cb 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -30,9 +30,9 @@ static void init(CURLM *cm, const char* url, const char* userpwd, curl_easy_setopt(eh, CURLOPT_URL, url); curl_easy_setopt(eh, CURLOPT_PROXY, PROXY); curl_easy_setopt(eh, CURLOPT_PROXYUSERPWD, userpwd); - curl_easy_setopt(eh, CURLOPT_PROXYAUTH, CURLAUTH_ANY); - curl_easy_setopt(eh, CURLOPT_VERBOSE, 1); - curl_easy_setopt(eh, CURLOPT_HEADER, 1); + curl_easy_setopt(eh, CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); + curl_easy_setopt(eh, CURLOPT_VERBOSE, 1L); + curl_easy_setopt(eh, CURLOPT_HEADER, 1L); curl_easy_setopt(eh, CURLOPT_HTTPHEADER, headers); /* custom Host: */ curl_multi_add_handle(cm, eh); -- cgit v1.2.1