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
1 changed files with 1 additions and 1 deletions

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