Commit fa980304 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix compilation warning.

parent 9142b699
...@@ -362,7 +362,8 @@ interaction_t * interaction_Init( libvlc_int_t *p_libvlc ) ...@@ -362,7 +362,8 @@ interaction_t * interaction_Init( libvlc_int_t *p_libvlc )
/* Make sure we haven't yet created an interaction object */ /* Make sure we haven't yet created an interaction object */
assert( libvlc_priv(p_libvlc)->p_interaction == NULL ); assert( libvlc_priv(p_libvlc)->p_interaction == NULL );
p_interaction = vlc_custom_create( p_libvlc, sizeof( *p_interaction ), p_interaction = vlc_custom_create( VLC_OBJECT(p_libvlc),
sizeof( *p_interaction ),
VLC_OBJECT_GENERIC, "interaction" ); VLC_OBJECT_GENERIC, "interaction" );
if( !p_interaction ) if( !p_interaction )
return NULL; return NULL;
......
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