Commit f4614367 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Mod: use unsigned when needed

parent 4d87d619
...@@ -407,7 +407,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -407,7 +407,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
if( i_num_instruments ) if( i_num_instruments )
{ {
i_temp_index = 0; 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]; char lBuffer[33];
ModPlug_InstrumentName( p_sys->f, i, lBuffer ); ModPlug_InstrumentName( p_sys->f, i, lBuffer );
...@@ -419,7 +419,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -419,7 +419,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
} }
/* Make list of samples */ /* 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]; char psz_buffer[33];
ModPlug_SampleName( p_sys->f, i, psz_buffer ); ModPlug_SampleName( p_sys->f, i, psz_buffer );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment