Fix missing const

This commit is contained in:
Seth Hillbrand 2021-11-24 11:49:13 -08:00
parent 2eb5d4fa7a
commit d60474d3ef
1 changed files with 1 additions and 1 deletions

View File

@ -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<void*>( aOutput ) );
curl_easy_setopt( m_CURL, CURLOPT_WRITEDATA, reinterpret_cast<const void*>( aOutput ) );
return true;
}