summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parser-mecmd.c2
-rw-r--r--parser-mpcmd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/parser-mecmd.c b/parser-mecmd.c
index 3af78a1eae..6229022dfc 100644
--- a/parser-mecmd.c
+++ b/parser-mecmd.c
@@ -86,7 +86,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */
{
- m_option_t* mp_opt = NULL;
+ const m_option_t* mp_opt = NULL;
/* remove trailing '-' */
opt++;
mp_msg(MSGT_CFGPARSER, MSGL_DBG3, "this_opt = option: %s\n", opt);
diff --git a/parser-mpcmd.c b/parser-mpcmd.c
index 37245afa05..b5168e84e7 100644
--- a/parser-mpcmd.c
+++ b/parser-mpcmd.c
@@ -170,7 +170,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
else
last_parent->flags &= ~PLAY_TREE_RND;
} else {
- m_option_t* mp_opt = NULL;
+ const m_option_t* mp_opt = NULL;
play_tree_t* entry = NULL;
tmp = is_entry_option(opt,(i+1<argc) ? argv[i + 1] : NULL,&entry);