summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 16:48:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-28 16:48:01 +0000
commit6d32d91ecaeeb4d041992fbc6f18e99e21519d54 (patch)
tree23bbf5a8c18a3c5366274acc7feab7522b5f4d97 /m_struct.h
parenta1fe76958b6500e305f9bac0dd1d312706f54da2 (diff)
downloadmpv-6d32d91ecaeeb4d041992fbc6f18e99e21519d54.tar.bz2
mpv-6d32d91ecaeeb4d041992fbc6f18e99e21519d54.tar.xz
Mark m_struct_t defaults as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22045 b3059339-0415-0410-9bf9-f77b7e298cf2
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).