]> git.sesse.net Git - vlc/commitdiff
Fix compiler warning about comparing signed and unsigned int.
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 29 Aug 2006 08:25:59 +0000 (08:25 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 29 Aug 2006 08:25:59 +0000 (08:25 +0000)
modules/codec/dvbsub.c
modules/codec/flac.c

index 3714fb41dafdad049e54024373bee6d71b32f634..d7fa2f613c33aaa43a8ac7e0e4b3cd5541c81616 100644 (file)
@@ -322,7 +322,7 @@ static void Close( vlc_object_t *p_this )
 
     var_Destroy( p_this, DVBSUB_CFG_PREFIX "x" );
     var_Destroy( p_this, DVBSUB_CFG_PREFIX "y" );
-    var_Destroy( p_this, DVBSUB_CFG_PREFIX "position" );    
+    var_Destroy( p_this, DVBSUB_CFG_PREFIX "position" );
 
     free_all( p_dec );
     free( p_sys );
index 6d1500becc4eaa4afb87e4a7e8a09f56d539660d..0fe8f29dfa51504180228095e48b382a504e95c0 100644 (file)
@@ -1115,7 +1115,7 @@ struct encoder_sys_t
     int i_channels;
 
     FLAC__int32 *p_buffer;
-    int         i_buffer;
+    unsigned int i_buffer;
 
     block_t *p_chain;
 
@@ -1207,7 +1207,7 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
 {
     encoder_sys_t *p_sys = p_enc->p_sys;
     block_t *p_chain;
-    int i;
+    unsigned int i;
 
     p_sys->i_pts = p_aout_buf->start_date -
                 (mtime_t)1000000 * (mtime_t)p_sys->i_samples_delay /