mirror of https://github.com/mpv-player/mpv
Mark m_option struct member as const.
This fixes many warnings similar to: cfg-mplayer.h:368: warning: initialization discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30989 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0c6b8880ce
commit
e7a1dbc122
|
@ -280,7 +280,7 @@ struct m_option {
|
|||
* use the priv field but this was inherited from older versions of the
|
||||
* config code.
|
||||
*/
|
||||
void *p;
|
||||
const void *p;
|
||||
|
||||
/// Option type.
|
||||
const m_option_type_t* type;
|
||||
|
|
Loading…
Reference in New Issue