Commit 34f2fc37 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

addons: fix invalid function cast

parent 5631d280
......@@ -327,7 +327,7 @@ static void *FinderThread( void *p_data )
for( ;; )
{
vlc_mutex_lock( &p_manager->p_priv->finder.lock );
vlc_cleanup_push( vlc_mutex_unlock, &p_manager->p_priv->finder.lock );
mutex_cleanup_push( &p_manager->p_priv->finder.lock );
while( p_manager->p_priv->finder.uris.i_size == 0 )
{
vlc_cond_wait( &p_manager->p_priv->finder.waitcond,
......@@ -441,7 +441,7 @@ static void *InstallerThread( void *p_data )
for( ;; )
{
vlc_mutex_lock( &p_manager->p_priv->installer.lock );
vlc_cleanup_push( vlc_mutex_unlock, &p_manager->p_priv->installer.lock );
mutex_cleanup_push( &p_manager->p_priv->installer.lock );
while ( !p_manager->p_priv->installer.entries.i_size )
{
/* No queued addons */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment