diff options
Diffstat (limited to 'options/m_config_frontend.c')
-rw-r--r-- | options/m_config_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_config_frontend.c b/options/m_config_frontend.c index fdb03e0898..0506bcbfb3 100644 --- a/options/m_config_frontend.c +++ b/options/m_config_frontend.c @@ -858,7 +858,7 @@ void m_config_print_option_list(const struct m_config *config, const char *name) MP_INFO(config, " %s%-30s", prefix, co->name); if (opt->type == &m_option_type_choice) { MP_INFO(config, " Choices:"); - struct m_opt_choice_alternatives *alt = opt->priv; + const struct m_opt_choice_alternatives *alt = opt->priv; for (int n = 0; alt[n].name; n++) MP_INFO(config, " %s", alt[n].name); if (opt->min < opt->max) |