[vlc-commits] Fix a prototype warning

Rémi Denis-Courmont git at videolan.org
Wed May 25 17:27:09 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 25 18:26:49 2011 +0300| [ecc2c16b871c893d5101edec462696e932472d3d] | committer: Rémi Denis-Courmont

Fix a prototype warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecc2c16b871c893d5101edec462696e932472d3d
---

 src/interface/interface.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/interface/interface.c b/src/interface/interface.c
index 7682aad..fc8c523 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -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;



More information about the vlc-commits mailing list