[vlc-commits] demux: asf: fix signedness in marker

Francois Cartegnie git at videolan.org
Sat Dec 7 20:04:22 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Dec  7 20:02:15 2013 +0100| [c8a17e17a3f69e2bb3d9fc8a788ead7b1a41993b] | committer: Francois Cartegnie

demux: asf: fix signedness in marker

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

 modules/demux/asf/libasf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index aee2a80..db121a3 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -1291,7 +1291,7 @@ static int ASF_ReadObject_marker(stream_t *s, asf_object_t *p_obj)
         if( !p_mk->marker )
             return VLC_ENOMEM;
 
-        for( unsigned i = 0; i < p_mk->i_count; i++ )
+        for( uint32_t i = 0; i < p_mk->i_count; i++ )
         {
             asf_marker_t *p_marker = &p_mk->marker[i];
 
@@ -1320,7 +1320,7 @@ static void ASF_FreeObject_marker( asf_object_t *p_obj)
 {
     asf_object_marker_t *p_mk = (asf_object_marker_t *)p_obj;
 
-    for( unsigned i = 0; i < p_mk->i_count; i++ )
+    for( uint32_t i = 0; i < p_mk->i_count; i++ )
     {
         FREENULL( p_mk->marker[i].p_marker_description  );
     }



More information about the vlc-commits mailing list