diff --git a/libs/pbd/file_archive.cc b/libs/pbd/file_archive.cc index 2fa4c6db24..0c880a7780 100644 --- a/libs/pbd/file_archive.cc +++ b/libs/pbd/file_archive.cc @@ -194,7 +194,7 @@ FileArchive::fetch (const std::string & url, const std::string & destdir) const return std::string (); } - curl_easy_setopt (curl, CURLOPT_URL, url); + curl_easy_setopt (curl, CURLOPT_URL, url.c_str ()); curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L); CURLcode res = curl_easy_perform (curl); curl_easy_cleanup (curl);