summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 17:35:06 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 17:35:06 +0000
commitdb5487225c3c410a671c242b1eccaf7877dbee74 (patch)
tree6fa2e6e877b48b4d0e9206afc550c024e3dbd11f /m_struct.h
parentb4196c01c7c330627fd9de34dec3a167f9a2dc28 (diff)
downloadmpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.bz2
mpv-db5487225c3c410a671c242b1eccaf7877dbee74.tar.xz
marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19199 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 2f7f16dffa..e97659a333 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -13,7 +13,7 @@ struct m_option;
/// Struct definition
typedef struct m_struct_st {
/// For error messages and debugging
- char* name;
+ const char* name;
/// size of the whole struct
unsigned int size;
/// Pointer to a struct filled with the default settings