Commit 4f58d06b authored by damienf's avatar damienf
Browse files

gnutls: fool VLC_OBJECT() cast check for NULL objects

parent 5f6ba47b
...@@ -115,7 +115,7 @@ static int gcry_vlc_mutex_init( void **p_sys ) ...@@ -115,7 +115,7 @@ static int gcry_vlc_mutex_init( void **p_sys )
if( p_lock == NULL) if( p_lock == NULL)
return ENOMEM; return ENOMEM;
i_val = vlc_mutex_init( NULL, p_lock ); i_val = vlc_mutex_init( (vlc_object_t *)NULL, p_lock );
if( i_val ) if( i_val )
free( p_lock ); free( p_lock );
else else
......
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