Commit 39cc3749 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warnings

parent 4733a541
...@@ -274,13 +274,13 @@ static int DemuxOpen( vlc_object_t * p_this ) ...@@ -274,13 +274,13 @@ static int DemuxOpen( vlc_object_t * p_this )
if ( i_size > 0 ) if ( i_size > 0 )
{ {
while ( i_size && strncasecmp( p_peek, "NSC Format Version=", while ( i_size && strncasecmp( (char *)p_peek, "NSC Format Version=",
(int) sizeof("NSC Format Version=") - 1 ) ) (int) sizeof("NSC Format Version=") - 1 ) )
{ {
p_peek++; p_peek++;
i_size--; i_size--;
} }
if ( !strncasecmp( p_peek, "NSC Format Version=", if ( !strncasecmp( (char *)p_peek, "NSC Format Version=",
(int) sizeof("NSC Format Version=") -1 ) ) (int) sizeof("NSC Format Version=") -1 ) )
{ {
p_demux->pf_demux = Demux; p_demux->pf_demux = Demux;
......
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