summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.h')
-rw-r--r--m_struct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_struct.h b/m_struct.h
index e97659a333..9c95c21739 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -17,7 +17,7 @@ typedef struct m_struct_st {
/// 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).