diff --git a/tests/libtest/lib2405.c b/tests/libtest/lib2405.c index 2d22276194..571a0bcaa8 100644 --- a/tests/libtest/lib2405.c +++ b/tests/libtest/lib2405.c @@ -340,8 +340,7 @@ static CURLcode empty_multi_test(void) /* calling curl_multi_waitfds() on multi handle with added easy handle. */ easy_init(easy); - if(set_easy((char *)CURL_UNCONST("http://example.com"), easy, - TEST_USE_HTTP1) != CURLE_OK) + if(set_easy("http://example.com", easy, TEST_USE_HTTP1) != CURLE_OK) goto test_cleanup; multi_add_handle(multi, easy);