summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/enc_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/enc_config.c b/apps/enc_config.c
index 68e8a63..07405cd 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)