]> git.sesse.net Git - vlc/commitdiff
gnutls: fool VLC_OBJECT() cast check for NULL objects
authorDamien Fouilleul <damienf@videolan.org>
Wed, 23 Jan 2008 14:56:46 +0000 (14:56 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Wed, 23 Jan 2008 14:56:46 +0000 (14:56 +0000)
modules/misc/gnutls.c

index 7de692a97e3136da55d41d29acd832573e2e14a9..934e2e6dfee7f029f34788c51f32674a5b3c3fe8 100644 (file)
@@ -115,7 +115,7 @@ static int gcry_vlc_mutex_init( void **p_sys )
     if( p_lock == NULL)
         return ENOMEM;
 
-    i_val = vlc_mutex_init( NULL, p_lock );
+    i_val = vlc_mutex_init( (vlc_object_t *)NULL, p_lock );
     if( i_val )
         free( p_lock );
     else