diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 7403bb4cf4..b13bea5ca6 100644 --- a/player/command.c +++ b/player/command.c @@ -3388,7 +3388,7 @@ static int mp_property_option_info(void *ctx, struct m_property *prop, char **choices = NULL; if (opt->type == &m_option_type_choice) { - struct m_opt_choice_alternatives *alt = opt->priv; + const struct m_opt_choice_alternatives *alt = opt->priv; int num = 0; for ( ; alt->name; alt++) MP_TARRAY_APPEND(NULL, choices, num, alt->name); |