From 6203ac180b0e91ba411c57ec3085aaf81bc6bbdc Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 30 Jul 2026 10:43:49 +0200 Subject: [PATCH] lib1582.c drop redundant cast --- tests/libtest/lib1582.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib1582.c b/tests/libtest/lib1582.c index ec9624be94..81f8664ef3 100644 --- a/tests/libtest/lib1582.c +++ b/tests/libtest/lib1582.c @@ -43,7 +43,7 @@ static CURLcode test_lib1582(const char *URL) easy_setopt(curl, CURLOPT_HEADER, 1L); easy_setopt(curl, CURLOPT_VERBOSE, 1L); easy_setopt(curl, CURLOPT_URL, URL); - easy_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_NEGOTIATE); + easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_NEGOTIATE); easy_setopt(curl, CURLOPT_USERPWD, ":"); easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);