summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index e7cde6d6f3..364865b899 100644
--- a/command.c
+++ b/command.c
@@ -633,7 +633,7 @@ static int mp_property_metadata(m_option_t *prop, int action, void *arg,
return M_PROPERTY_OK;
case M_PROPERTY_GET_TYPE:
if(!ka->arg) return M_PROPERTY_ERROR;
- *(m_option_t**)ka->arg = &key_type;
+ *(const m_option_t**)ka->arg = &key_type;
return M_PROPERTY_OK;
}
}