# HG changeset patch # User diego # Date 1270292817 0 # Node ID 458dbda20fa3e08e0079734ef5999e8a5bee6126 # Parent 82a429bcf6808d4a9ba7b44be02e55718fdeb2ac 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 diff -r 82a429bcf680 -r 458dbda20fa3 m_option.h --- a/m_option.h Sat Apr 03 07:12:32 2010 +0000 +++ b/m_option.h Sat Apr 03 11:06:57 2010 +0000 @@ -280,7 +280,7 @@ * 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;