[vlc-devel] commit: Kill a warning and put i_datalength as an uint32_t ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 20 23:08:05 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 20 14:09:27 2008 -0700| [5fff76145c2ad523334cc15432f458f1940ed895] | committer: Jean-Baptiste Kempf 

Kill a warning and put i_datalength as an uint32_t

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

 modules/demux/tta.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/tta.c b/modules/demux/tta.c
index 3121028..bc7ae25 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -68,7 +68,7 @@ struct demux_sys_t
     uint32_t i_totalframes;
     uint32_t i_currentframe;
     uint32_t *pi_seektable;
-    int      i_datalength;
+    uint32_t i_datalength;
     int      i_framelength;
 
     /* */
@@ -240,7 +240,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             if( i64 > 0 )
             {
                 int64_t tmp = 0;
-                int     i;
+                uint32_t i;
                 for( i=0; i < p_sys->i_totalframes && tmp+p_sys->pi_seektable[i] < i64; i++)
                 {
                     tmp += p_sys->pi_seektable[i];




More information about the vlc-devel mailing list