Commit b8fec336 authored by Damien Fouilleul's avatar Damien Fouilleul

missing const to non-const cast

parent b5766256
......@@ -596,7 +596,7 @@ int gzwrite_frontend( int fd, const void * p_buffer, size_t i_length )
{
if( currentGzVp != NULL && fd != -1 )
{
return gzwrite( currentGzVp, p_buffer, i_length );
return gzwrite( currentGzVp, const_cast<void*>(p_buffer), i_length );
}
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment