[vlc-devel] commit: Mod: use unsigned when needed (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 20 10:54:03 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 20 10:42:08 2009 +0200| [f4614367cd5a13c1a86ad3572a4921fe4ea5001c] | committer: Jean-Baptiste Kempf
Mod: use unsigned when needed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4614367cd5a13c1a86ad3572a4921fe4ea5001c
---
modules/demux/mod.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mod.c b/modules/demux/mod.c
index 745e267..7569469 100644
--- a/modules/demux/mod.c
+++ b/modules/demux/mod.c
@@ -407,7 +407,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
if( i_num_instruments )
{
i_temp_index = 0;
- for( int i = 0; i < i_num_instruments && i_temp_index < sizeof(psz_temp); i++ )
+ for( unsigned i = 0; i < i_num_instruments && i_temp_index < sizeof(psz_temp); i++ )
{
char lBuffer[33];
ModPlug_InstrumentName( p_sys->f, i, lBuffer );
@@ -419,7 +419,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
/* Make list of samples */
- for( int i = 0; i < i_num_samples && i_temp_index < sizeof(psz_temp); i++ )
+ for( unsigned int i = 0; i < i_num_samples && i_temp_index < sizeof(psz_temp); i++ )
{
char psz_buffer[33];
ModPlug_SampleName( p_sys->f, i, psz_buffer );
More information about the vlc-devel
mailing list