summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_property.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/m_property.c')
-rw-r--r--mpvcore/m_property.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/m_property.c b/mpvcore/m_property.c
index 6e25bf4e43..4ae33c9d1e 100644
--- a/mpvcore/m_property.c
+++ b/mpvcore/m_property.c
@@ -245,8 +245,8 @@ static int expand_property(const m_option_t *prop_list, char **ret, int *ret_len
return skip;
}
-char *m_properties_expand_string(const m_option_t *prop_list, char *str0,
- void *ctx)
+char *m_properties_expand_string(const m_option_t *prop_list,
+ const char *str0, void *ctx)
{
char *ret = NULL;
int ret_len = 0;