diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-04 22:12:55 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-06 18:33:16 +0300 |
commit | b68f9fef32971095836ea6bbeb2f12af417120d2 (patch) | |
tree | 46288d0356764318d595a946d22ca31eaf6b0101 /m_option.c | |
parent | 40f6ab5064a628dc11b79b5e571dc9444efac093 (diff) | |
download | mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.bz2 mpv-b68f9fef32971095836ea6bbeb2f12af417120d2.tar.xz |
cleanup: shut up more warnings
Diffstat (limited to 'm_option.c')
-rw-r--r-- | m_option.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m_option.c b/m_option.c index 25010487d8..c388bc0929 100644 --- a/m_option.c +++ b/m_option.c @@ -1954,9 +1954,10 @@ const m_option_type_t m_option_type_obj_settings_list = { static int parse_obj_presets(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { m_obj_presets_t* obj_p = (m_obj_presets_t*)opt->priv; - m_struct_t *in_desc,*out_desc; + const m_struct_t *in_desc; + const m_struct_t *out_desc; int s,i; - unsigned char* pre; + const unsigned char *pre; char* pre_name = NULL; if(!obj_p) { |