[MPlayer-cvslog] r31795 - trunk/command.c

reimar subversion at mplayerhq.hu
Sun Jul 25 11:13:43 CEST 2010


Author: reimar
Date: Sun Jul 25 11:13:43 2010
New Revision: 31795

Log:
Change cast to avoid a warning.

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Sun Jul 25 11:06:37 2010	(r31794)
+++ trunk/command.c	Sun Jul 25 11:13:43 2010	(r31795)
@@ -605,7 +605,7 @@ static int mp_property_metadata(m_option
             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;
         }
     }


More information about the MPlayer-cvslog mailing list