Commit 60e01ff5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use correct datatype in srtncasecmp

parent 31c99363
...@@ -159,14 +159,13 @@ static int Activate( vlc_object_t * p_this ) ...@@ -159,14 +159,13 @@ static int Activate( vlc_object_t * p_this )
i_size -= sizeof("sgiNameServerHost=") - 1; i_size -= sizeof("sgiNameServerHost=") - 1;
if ( i_size > 0 ) if ( i_size > 0 )
{ {
while ( i_size && strncasecmp( p_peek, "sgiNameServerHost=", unsigned int i_len = sizeof("sgiNameServerHost=") - 1;
sizeof("sgiNameServerHost=") - 1 ) ) while ( i_size && strncasecmp( (char *)p_peek, "sgiNameServerHost=", i_len ) )
{ {
p_peek++; p_peek++;
i_size--; i_size--;
} }
if ( !strncasecmp( p_peek, "sgiNameServerHost=", if ( !strncasecmp( (char *)p_peek, "sgiNameServerHost=", i_len ) )
sizeof("sgiNameServerHost=") -1 ) )
{ {
p_demux->pf_demux = Demux; p_demux->pf_demux = Demux;
p_demux->pf_control = Control; p_demux->pf_control = Control;
......
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