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 bf18d2fb9e..b3cfab1d41 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3738,7 +3738,7 @@ void mp_notify(struct MPContext *mpctx, int event, void *arg)
mp_client_property_change(mpctx, mp_event_property_change[event]);
}
-void mp_notify_property(struct MPContext *mpctx, char *property)
+void mp_notify_property(struct MPContext *mpctx, const char *property)
{
mp_client_property_change(mpctx, (const char*[]){property, NULL});
}