aboutsummaryrefslogtreecommitdiffhomepage
path: root/m_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.h')
-rw-r--r--m_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/m_struct.h b/m_struct.h
index 35cafc9951..2f7f16dffa 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -78,7 +78,7 @@ m_struct_set(m_struct_t* st, void* obj, char* field, char* param);
* \param field Name of the field to reset, if NULL all fields are reseted.
*/
void
-m_struct_reset(m_struct_t* st, void* obj, char* field);
+m_struct_reset(m_struct_t* st, void* obj, const char* field);
/// Create a copy of an existing struct.
/** \param st Struct definiton.
@@ -101,7 +101,7 @@ m_struct_free(m_struct_t* st, void* obj);
* \return The \ref m_option struct describing the field or NULL if not found.
*/
struct m_option*
-m_struct_get_field(m_struct_t* st,char* f);
+m_struct_get_field(m_struct_t* st,const char* f);
///@}