Commit 7890ca2c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

itml: fix signedness

parent 0b969a5f
......@@ -54,7 +54,7 @@ int Import_iTML( vlc_object_t *p_this )
DEMUX_BY_EXTENSION_OR_FORCED_MSG( ".xml", "itml",
"using iTunes Media Library reader" );
const uint8_t *p_peek;
const uint64_t i_peek = stream_Peek( p_demux->s, &p_peek, 128 );
const ssize_t i_peek = stream_Peek( p_demux->s, &p_peek, 128 );
if ( i_peek < 32 ||
!strnstr( (const char *) p_peek, "<!DOCTYPE plist ", i_peek ) )
{
......
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