summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r--mpvcore/m_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h
index eaf3f6af2a..0cff62d7ed 100644
--- a/mpvcore/m_config.h
+++ b/mpvcore/m_config.h
@@ -38,7 +38,7 @@ struct m_obj_desc;
struct m_config_option {
bool is_generated : 1;
// Full name (ie option-subopt).
- char *name;
+ const char *name;
// Option description.
const struct m_option *opt;
// Raw value of the option.