diff --git a/tests/libtest/lib547.c b/tests/libtest/lib547.c index 829f8fdd62..68b8cdc575 100644 --- a/tests/libtest/lib547.c +++ b/tests/libtest/lib547.c @@ -103,7 +103,7 @@ static CURLcode test_lib547(char *URL) test_setopt(curl, CURLOPT_PROXY, libtest_arg2); test_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3); test_setopt(curl, CURLOPT_PROXYAUTH, - (long) (CURLAUTH_NTLM | CURLAUTH_DIGEST | CURLAUTH_BASIC) ); + (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); res = curl_easy_perform(curl); diff --git a/tests/libtest/lib555.c b/tests/libtest/lib555.c index f3e03d6dfd..6b201d3b07 100644 --- a/tests/libtest/lib555.c +++ b/tests/libtest/lib555.c @@ -99,7 +99,7 @@ static CURLcode test_lib555(char *URL) easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); easy_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3); easy_setopt(curl, CURLOPT_PROXYAUTH, - (long) (CURLAUTH_NTLM | CURLAUTH_DIGEST | CURLAUTH_BASIC) ); + (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); multi_init(m); diff --git a/tests/libtest/lib590.c b/tests/libtest/lib590.c index ffa30c6fce..15daa3a2bf 100644 --- a/tests/libtest/lib590.c +++ b/tests/libtest/lib590.c @@ -59,7 +59,7 @@ static CURLcode test_lib590(char *URL) test_setopt(curl, CURLOPT_URL, URL); test_setopt(curl, CURLOPT_HEADER, 1L); test_setopt(curl, CURLOPT_PROXYAUTH, - (long) (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); + (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); test_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ /* set the name + password twice to test that the API is fine with it */ diff --git a/tests/libtest/lib694.c b/tests/libtest/lib694.c index 071697838c..b4faee1293 100644 --- a/tests/libtest/lib694.c +++ b/tests/libtest/lib694.c @@ -48,7 +48,7 @@ static CURLcode test_lib694(char *URL) test_setopt(curl, CURLOPT_HEADER, 1L); test_setopt(curl, CURLOPT_VERBOSE, 1L); test_setopt(curl, CURLOPT_HTTPAUTH, - (long) (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); + (CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)); test_setopt(curl, CURLOPT_USERPWD, "me:password"); do {