]> git.sesse.net Git - vlc/commitdiff
Fix compilation warning.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 28 Jun 2008 20:30:41 +0000 (22:30 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 28 Jun 2008 20:30:41 +0000 (22:30 +0200)
src/interface/interaction.c

index 568d8a3b4c36886a5ba37d673add245d6042df88..59a4f0f5eb600107ec27d1491df2f0e8d7c38712 100644 (file)
@@ -362,7 +362,8 @@ interaction_t * interaction_Init( libvlc_int_t *p_libvlc )
     /* Make sure we haven't yet created an interaction object */
     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" );
     if( !p_interaction )
         return NULL;