From 4c046d090b6073520690672e65e2e6fbc2d0651f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Mon, 20 Dec 2010 20:56:22 +0000 Subject: [PATCH] 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 --- apps/enc_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/enc_config.c b/apps/enc_config.c index 68e8a63d6f..07405cdac1 100644 --- a/apps/enc_config.c +++ b/apps/enc_config.c @@ -302,7 +302,7 @@ static void enc_rec_settings_changed(struct encoder_config *cfg) { struct encoder_config enc_config; 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; if (cfg == NULL)