diff m_struct.h @ 22027:0b262e00bc99

Mark m_struct_t defaults as const
author reimar
date Sun, 28 Jan 2007 16:48:01 +0000
parents 5949a654e2d4
children 10a64a994a16
line wrap: on
line diff
--- a/m_struct.h	Sun Jan 28 16:36:41 2007 +0000
+++ b/m_struct.h	Sun Jan 28 16:48:01 2007 +0000
@@ -17,7 +17,7 @@
   /// size of the whole struct
   unsigned int size;
   /// Pointer to a struct filled with the default settings
-  void* defaults;
+  const void* defaults;
   /// Field list.
   /** The p field of the \ref m_option struct must contain the offset
    *  of the member in the struct (use M_ST_OFF macro for this).