Fix different enum comparison warning when building with gcc 4.5

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-12-20 20:56:22 +00:00
parent 4b1758d239
commit 4c046d090b

View file

@ -302,7 +302,7 @@ static void enc_rec_settings_changed(struct encoder_config *cfg)
{ {
struct encoder_config enc_config; struct encoder_config enc_config;
struct encoder_caps caps; struct encoder_caps caps;
long table[MAX(CHN_NUM_MODES, REC_NUM_FREQ)]; long table[MAX((int)CHN_NUM_MODES, (int)REC_NUM_FREQ)];
int n; int n;
if (cfg == NULL) if (cfg == NULL)