changeset 30947:458dbda20fa3

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
author diego
date Sat, 03 Apr 2010 11:06:57 +0000
parents 82a429bcf680
children 24b8498ff786
files m_option.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;