[vlc-devel] commit: Use NULL rather than 0 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Sep 6 17:41:43 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Sep  6 18:44:08 2008 +0300| [05757cdc208d9fda0f20848553110978c91e6e47] | committer: Rémi Denis-Courmont 

Use NULL rather than 0

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05757cdc208d9fda0f20848553110978c91e6e47
---

 src/misc/threads.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 73fd49a..f122856 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -263,7 +263,7 @@ int vlc_mutex_init( vlc_mutex_t *p_mutex )
     return 0;
 
 #elif defined( WIN32 )
-    *p_mutex = CreateMutex( 0, FALSE, 0 );
+    *p_mutex = CreateMutex( NULL, FALSE, NULL );
     return (*p_mutex != NULL) ? 0 : ENOMEM;
 
 #endif




More information about the vlc-devel mailing list