]> git.sesse.net Git - vlc/commitdiff
mp4: kill warning about sign
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 28 Oct 2011 13:36:05 +0000 (15:36 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 30 Oct 2011 23:42:18 +0000 (00:42 +0100)
modules/demux/mp4/mp4.c

index 4ef7b76c8d6de278dfd768250a97b71f1adea118..9561d0f3be93810f9d486493910319b41aab94ce 100644 (file)
@@ -708,7 +708,7 @@ static int Demux( demux_t *p_demux )
                     if( tk->fmt.i_codec == VLC_FOURCC( 's', 'u', 'b', 't' ) &&
                         p_block->i_buffer >= 2 )
                     {
-                        uint16_t i_size = GetWBE( p_block->p_buffer );
+                        size_t i_size = GetWBE( p_block->p_buffer );
 
                         if( i_size + 2 <= p_block->i_buffer )
                         {