]> git.sesse.net Git - vlc/commitdiff
Fix compiler warning
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 14 Apr 2007 19:01:33 +0000 (19:01 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 14 Apr 2007 19:01:33 +0000 (19:01 +0000)
src/libvlc-common.c

index 0b1852d3953d19dc4220102ba5e7983388303fa3..657f9c83fbef4aa4bd079d6751963c48500f1d79 100644 (file)
@@ -287,7 +287,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
     module_InitBank( p_libvlc );
 
     /* Hack: insert the help module here */
-    p_help_module = vlc_module_create( p_libvlc );
+    p_help_module = vlc_module_create( VLC_OBJECT(p_libvlc) );
     if( p_help_module == NULL )
     {
         module_EndBank( p_libvlc );