Mercurial > mplayer.hg
diff m_struct.c @ 30695:a26f6577d338
Make more option-parsing related function arguments const.
Prerequisite for making stream_open filename const in a proper way.
author | reimar |
---|---|
date | Thu, 25 Feb 2010 22:32:28 +0000 |
parents | c1a3f1bbba26 |
children | 389d43c448b3 |
line wrap: on
line diff
--- a/m_struct.c Thu Feb 25 22:29:00 2010 +0000 +++ b/m_struct.c Thu Feb 25 22:32:28 2010 +0000 @@ -68,7 +68,7 @@ } int -m_struct_set(const m_struct_t* st, void* obj, char* field, char* param) { +m_struct_set(const m_struct_t* st, void* obj, const char* field, const char* param) { const m_option_t* f = m_struct_get_field(st,field); if(!f) {