]> git.sesse.net Git - vlc/commitdiff
Fix a prototype warning
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 25 May 2011 15:26:49 +0000 (18:26 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 25 May 2011 15:26:49 +0000 (18:26 +0300)
src/interface/interface.c

index 7682aadfbd85e9e740932fd1bfc7f74c92e034fd..fc8c52322fae731e65d0002c532504df76f6856b 100644 (file)
@@ -50,8 +50,8 @@
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
-static void* RunInterface( vlc_object_t *p_this );
-#if defined( __APPLE__ )
+static void* RunInterface( void * );
+#if defined( __APPLE__)
 static void * MonitorLibVLCDeath( vlc_object_t *p_this );
 #endif
 static int AddIntfCallback( vlc_object_t *, char const *,
@@ -217,9 +217,9 @@ void intf_DestroyAll( libvlc_int_t *p_libvlc )
  *
  * @param p_this: interface object
  */
-static void* RunInterface( vlc_object_t *p_this )
+static void* RunInterface( void *p_this )
 {
-    intf_thread_t *p_intf = (intf_thread_t *)p_this;
+    intf_thread_t *p_intf = p_this;
 
     p_intf->pf_run( p_intf );
     return NULL;