summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpvcore/m_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_option.h b/mpvcore/m_option.h
index d8ea643dcf..1ab78fa4a8 100644
--- a/mpvcore/m_option.h
+++ b/mpvcore/m_option.h
@@ -318,7 +318,7 @@ struct m_option {
int offset;
// Initialize variable to given default before parsing options
- void *defval;
+ const void *defval;
};