summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.h b/m_option.h
index f535107132..82f67cd3ad 100644
--- a/m_option.h
+++ b/m_option.h
@@ -439,7 +439,7 @@ struct m_option {
* \param name Name of the option.
* \return The matching option or NULL.
*/
-m_option_t* m_option_list_find(m_option_t* list,char* name);
+m_option_t* m_option_list_find(m_option_t* list,const char* name);
/// Helper to parse options, see \ref m_option_type::parse.
inline static int