]> git.sesse.net Git - vlc/commitdiff
python bindings, vlc_mediacontrol.c: cast the py_param variable
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Tue, 29 May 2007 09:56:20 +0000 (09:56 +0000)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Tue, 29 May 2007 09:56:20 +0000 (09:56 +0000)
bindings/python/vlc_mediacontrol.c

index 4cc182637e4291edf708030d05c424816da12229..19820dffb1dea6de8583ccdb5dbfb134ab72bee2 100644 (file)
@@ -90,7 +90,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
     {
         self->mc = mediacontrol_new_from_instance( p_instance, exception );
         Py_INCREF( py_param );
-        self->vlc_instance = py_param;
+        self->vlc_instance = ( vlcInstance* ) py_param;
     }
     else
     {