summaryrefslogtreecommitdiffstats
path: root/m_struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.c')
-rw-r--r--m_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_struct.c b/m_struct.c
index 8accb4080f..7813340e42 100644
--- a/m_struct.c
+++ b/m_struct.c
@@ -68,7 +68,7 @@ m_struct_alloc(const m_struct_t* st) {
}
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) {