From 2b895d9349d4779fbe5111391d30b32e2a1a3f34 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Jul 2010 09:13:43 +0000 Subject: [PATCH] command.c: Change cast to avoid a warning git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31795 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }