git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5f6ba47
)
gnutls: fool VLC_OBJECT() cast check for NULL objects
author
Damien Fouilleul
<damienf@videolan.org>
Wed, 23 Jan 2008 14:56:46 +0000
(14:56 +0000)
committer
Damien Fouilleul
<damienf@videolan.org>
Wed, 23 Jan 2008 14:56:46 +0000
(14:56 +0000)
modules/misc/gnutls.c
patch
|
blob
|
history
diff --git
a/modules/misc/gnutls.c
b/modules/misc/gnutls.c
index
7de692a
..
934e2e6
100644
(file)
--- a/
modules/misc/gnutls.c
+++ b/
modules/misc/gnutls.c
@@
-115,7
+115,7
@@
static int gcry_vlc_mutex_init( void **p_sys )
if( p_lock == NULL)
return ENOMEM;
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
if( i_val )
free( p_lock );
else