Mercurial > mplayer.hg
changeset 33756:e55098a29bcb
Use unsigned index variable for comparison with array size.
author | ib |
---|---|
date | Thu, 07 Jul 2011 15:36:40 +0000 |
parents | 90a5fdb500db |
children | 9198f711233e |
files | gui/ui/gtk/equalizer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/equalizer.c Thu Jul 07 15:36:09 2011 +0000 +++ b/gui/ui/gtk/equalizer.c Thu Jul 07 15:36:40 2011 +0000 @@ -258,7 +258,7 @@ eqSetBands( Channel ); if ( Channel == -1 ) { - int i,j; equalizer_t eq; + unsigned int i,j; equalizer_t eq; for ( i=1;i<FF_ARRAY_ELEMS(gtkEquChannels);i++ ) for ( j=0;j<FF_ARRAY_ELEMS(*gtkEquChannels);j++ ) { eq.band=j; eq.channel=i; eq.gain=gtkEquChannels[0][j]; mplayer( gtkSetEqualizer,0,&eq ); }