From e2bd2d0335bdf636872cbc70528b5c109b13de44 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 2 Aug 2025 11:45:03 +0200 Subject: [PATCH] lib3207.c try dropping unconst --- tests/libtest/lib3207.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib3207.c b/tests/libtest/lib3207.c index 4eca3dd024..446d98a000 100644 --- a/tests/libtest/lib3207.c +++ b/tests/libtest/lib3207.c @@ -80,7 +80,7 @@ static CURL_THREAD_RETURN_T CURL_STDCALL test_thread(void *ptr) for(i = 0; i < PER_THREAD_SIZE; i++) { CURL *curl = curl_easy_init(); if(curl) { - curl_easy_setopt(curl, CURLOPT_URL, (char *)CURL_UNCONST(ctx->URL)); + curl_easy_setopt(curl, CURLOPT_URL, ctx->URL); /* use the share object */ curl_easy_setopt(curl, CURLOPT_SHARE, ctx->share);