[vlc-devel] commit: Fix compilation warning. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Jun 28 22:28:39 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jun 28 22:30:41 2008 +0200| [fa9803042fcf9161cef764a77d707f0b4bba2d58]
Fix compilation warning.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa9803042fcf9161cef764a77d707f0b4bba2d58
---
src/interface/interaction.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/interface/interaction.c b/src/interface/interaction.c
index 568d8a3..59a4f0f 100644
--- a/src/interface/interaction.c
+++ b/src/interface/interaction.c
@@ -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;
More information about the vlc-devel
mailing list