Mercurial > mplayer.hg
changeset 33693:006a2db8bd55
Use unsigned index variable for comparison with array size.
author | ib |
---|---|
date | Wed, 29 Jun 2011 13:37:04 +0000 |
parents | 0e9a5c0194ed |
children | 45553d0f65c6 |
files | gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Wed Jun 29 13:33:21 2011 +0000 +++ b/gui/interface.c Wed Jun 29 13:37:04 2011 +0000 @@ -908,7 +908,7 @@ if (gtkEnableAudioEqualizer) { equalizer_t eq; - int i, j; + unsigned int i, j; for (i = 0; i < FF_ARRAY_ELEMS(gtkEquChannels); i++) { for (j = 0; j < FF_ARRAY_ELEMS(*gtkEquChannels); j++) { @@ -1306,7 +1306,7 @@ if (guiInfo.afilter) af_control_any_rev(guiInfo.afilter, AF_CONTROL_EQUALIZER_GAIN | AF_CONTROL_SET, &tmp); } else { - int i; + unsigned int i; memset(gtkEquChannels, 0, sizeof(gtkEquChannels));