[vlc-devel] commit: Kill a warning and put i_datalength as an uint32_t ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 21 17:33:30 CEST 2008
vlc | branch: 0.8.6-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 20 14:09:27 2008 -0700| [edafd8deaea0089e020e10b7255a88a3fc975441] | committer: Rémi Denis-Courmont
Kill a warning and put i_datalength as an uint32_t
(cherry picked from commit 5fff76145c2ad523334cc15432f458f1940ed895)
Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=edafd8deaea0089e020e10b7255a88a3fc975441
---
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 4abca25..1522854 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -63,7 +63,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;
/* */
@@ -248,7 +248,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