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);