summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 0b0dc71715..7403bb4cf4 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3395,7 +3395,7 @@ static int mp_property_option_info(void *ctx, struct m_property *prop,
MP_TARRAY_APPEND(NULL, choices, num, NULL);
}
if (opt->type == &m_option_type_obj_settings_list) {
- struct m_obj_list *objs = opt->priv;
+ const struct m_obj_list *objs = opt->priv;
int num = 0;
for (int n = 0; ; n++) {
struct m_obj_desc desc = {0};