]> git.sesse.net Git - vlc/blobdiff - src/interface/interface.c
Fix threaded function declaration.
[vlc] / src / interface / interface.c
index e6349841b568db19c93ca4c365fdab7a64e85b5d..7e4c845cb26560b8a11e8006c7c183dcb6aa5eda 100644 (file)
@@ -49,7 +49,7 @@
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
-static void RunInterface( intf_thread_t *p_intf );
+static void* RunInterface( vlc_object_t *p_this );
 #ifdef __APPLE__
 static void MonitorLibVLCDeath( intf_thread_t *p_intf );
 #endif
@@ -193,8 +193,9 @@ void intf_StopThread( intf_thread_t *p_intf )
 /*****************************************************************************
  * RunInterface: setups necessary data and give control to the interface
  *****************************************************************************/
-static void RunInterface( intf_thread_t *p_intf )
+static void* RunInterface( vlc_object_t *p_this )
 {
+    intf_thread_t *p_intf = (intf_thread_t *)p_this;
     vlc_value_t val, text;
     char *psz_intf;
 
@@ -257,6 +258,7 @@ static void RunInterface( intf_thread_t *p_intf )
         p_intf->p_module = module_Need( p_intf, "interface", psz_intf, 0 );
     }
     while( p_intf->p_module );
+    return NULL;
 }
 
 #ifdef __APPLE__