Commit 5d4b0529 authored by Olivier Aubert's avatar Olivier Aubert
Browse files

python bindings, vlc_mediacontrol.c: cast the py_param variable

parent 417945c1
...@@ -90,7 +90,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds ) ...@@ -90,7 +90,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
{ {
self->mc = mediacontrol_new_from_instance( p_instance, exception ); self->mc = mediacontrol_new_from_instance( p_instance, exception );
Py_INCREF( py_param ); Py_INCREF( py_param );
self->vlc_instance = py_param; self->vlc_instance = ( vlcInstance* ) py_param;
} }
else else
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment