0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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:
reimar 2010-07-25 09:13:43 +00:00 committed by Uoti Urpala
parent 6ab9a83398
commit 2b895d9349

View File

@ -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;
}
}