[MPlayer-cvslog] r33844 - trunk/gui/ui/gtk/equalizer.c
ib
subversion at mplayerhq.hu
Thu Jul 7 17:36:40 CEST 2011
Author: ib
Date: Thu Jul 7 17:36:40 2011
New Revision: 33844
Log:
Use unsigned index variable for comparison with array size.
Modified:
trunk/gui/ui/gtk/equalizer.c
Modified: trunk/gui/ui/gtk/equalizer.c
==============================================================================
--- trunk/gui/ui/gtk/equalizer.c Thu Jul 7 17:36:09 2011 (r33843)
+++ trunk/gui/ui/gtk/equalizer.c Thu Jul 7 17:36:40 2011 (r33844)
@@ -258,7 +258,7 @@ static void eqSelectChannelsListRow( Gtk
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 ); }
More information about the MPlayer-cvslog
mailing list