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:
parent
4b1758d239
commit
4c046d090b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue