mirror of https://github.com/mpv-player/mpv
command.c: Change cast to avoid a warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31795 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6ab9a83398
commit
2b895d9349
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue