summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-17 19:50:45 +0200
committerwm4 <wm4@nowhere>2013-08-17 19:50:45 +0200
commitc890b8942d558f0746892730a587302c33471285 (patch)
tree661006ff6039ca592b239e14a0565e32a13ceda1 /mpvcore/m_option.h
parent8b245c4d4b644e404b2e776b6c0ea42d27fa2005 (diff)
downloadmpv-c890b8942d558f0746892730a587302c33471285.tar.bz2
mpv-c890b8942d558f0746892730a587302c33471285.tar.xz
m_option: make defval const
There's really no reason why it shouldn't.
Diffstat (limited to 'mpvcore/m_option.h')
-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;
};