Commit 921123fd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

projectM: variables signedness fix

parent 08633adf
......@@ -135,8 +135,8 @@ struct filter_sys_t
vlc_mutex_t lock;
bool b_quit;
float *p_buffer;
int i_buffer_size;
int i_nb_samples;
unsigned i_buffer_size;
unsigned i_nb_samples;
};
......@@ -248,7 +248,7 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf )
p_in_buf->i_nb_samples );
const float *p_src = (float*)p_in_buf->p_buffer;
for( int i = 0; i < p_sys->i_nb_samples; i++ )
for( unsigned i = 0; i < p_sys->i_nb_samples; i++ )
{
float v = 0;
for( int j = 0; j < p_sys->i_channels; j++ )
......
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