summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-04 22:12:55 +0200
committerUoti Urpala <uau@mplayer2.org>2011-05-06 18:33:16 +0300
commitb68f9fef32971095836ea6bbeb2f12af417120d2 (patch)
tree46288d0356764318d595a946d22ca31eaf6b0101 /m_option.h
parent40f6ab5064a628dc11b79b5e571dc9444efac093 (diff)
downloadmpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.bz2
mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.xz
cleanup: shut up more warnings
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/m_option.h b/m_option.h
index 9486dd124e..00a5e60305 100644
--- a/m_option.h
+++ b/m_option.h
@@ -125,11 +125,11 @@ extern const m_option_type_t m_option_type_obj_settings_list;
/// Extra definition needed for \ref m_option_type_obj_presets options.
typedef struct {
/// Description of the struct holding the presets.
- struct m_struct_st* in_desc;
+ const struct m_struct_st *in_desc;
/// Description of the struct that should be set by the presets.
- struct m_struct_st* out_desc;
+ const struct m_struct_st *out_desc;
/// Pointer to an array of structs defining the various presets.
- void* presets;
+ const void *presets;
/// Offset of the preset's name inside the in_struct.
void* name_off;
} m_obj_presets_t;