[vlc-commits] itml: fix signedness

Rémi Denis-Courmont git at videolan.org
Sat Jan 2 22:09:27 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  2 23:08:46 2016 +0200| [7890ca2c8485125125a1c1e64e42e83627d87e7e] | committer: Rémi Denis-Courmont

itml: fix signedness

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7890ca2c8485125125a1c1e64e42e83627d87e7e
---

 modules/demux/playlist/itml.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/playlist/itml.c b/modules/demux/playlist/itml.c
index 2bcbd61..32d9d8d 100644
--- a/modules/demux/playlist/itml.c
+++ b/modules/demux/playlist/itml.c
@@ -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 ) )
     {



More information about the vlc-commits mailing list