summaryrefslogtreecommitdiffstats
path: root/mpvcore/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/command.h')
-rw-r--r--mpvcore/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/command.h b/mpvcore/command.h
index dbe1f638e2..5ac8c3a8f0 100644
--- a/mpvcore/command.h
+++ b/mpvcore/command.h
@@ -25,7 +25,7 @@ struct mp_cmd;
void mp_get_osd_mouse_pos(struct MPContext *mpctx, float *x, float *y);
void run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
-char *mp_property_expand_string(struct MPContext *mpctx, char *str);
+char *mp_property_expand_string(struct MPContext *mpctx, const char *str);
void property_print_help(void);
int mp_property_do(const char* name, int action, void* val,
struct MPContext *mpctx);