diff --git a/common/kicad_curl/kicad_curl_easy.cpp b/common/kicad_curl/kicad_curl_easy.cpp index 3e3d683e8d..5e1bb12ace 100644 --- a/common/kicad_curl/kicad_curl_easy.cpp +++ b/common/kicad_curl/kicad_curl_easy.cpp @@ -278,7 +278,7 @@ bool KICAD_CURL_EASY::SetTransferCallback( const TRANSFER_CALLBACK& aCallback, s bool KICAD_CURL_EASY::SetOutputStream( const std::ostream* aOutput ) { curl_easy_setopt( m_CURL, CURLOPT_WRITEFUNCTION, stream_write_callback ); - curl_easy_setopt( m_CURL, CURLOPT_WRITEDATA, reinterpret_cast( aOutput ) ); + curl_easy_setopt( m_CURL, CURLOPT_WRITEDATA, reinterpret_cast( aOutput ) ); return true; }