Commit 02723c8d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http out: avoid warnings

parent 2131d5cb
......@@ -277,8 +277,11 @@ static int Open( vlc_object_t *p_this )
if( p_sys->b_metacube )
{
httpd_header headers[] = {{ "Content-encoding", "metacube" }};
int err = httpd_StreamSetHTTPHeaders( p_sys->p_httpd_stream, headers, sizeof( headers ) / sizeof( httpd_header ) );
const httpd_header headers[] = {
{ (char *)"Content-encoding", (char *)"metacube" }
};
int err = httpd_StreamSetHTTPHeaders( p_sys->p_httpd_stream, headers,
ARRAY_SIZE(headers) );
if( err != VLC_SUCCESS )
{
free( p_sys );
......
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