summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
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 220fa3a672..bcf09dc86f 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -88,7 +88,7 @@ m_struct_alloc(const m_struct_t* st);
* \return 0 on error, 1 on success.
*/
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);
/// Reset a field (or all if field == NULL) to defaults.
/** \param st Struct definition.