[vlc-devel] commit: Use NULL rather than 0 ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 7 19:48:14 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Sep 6 18:44:08 2008 +0300| [864ab02ba8da38c71a50eeebeb54aa13c4a31dc4] | committer: Rémi Denis-Courmont
Use NULL rather than 0
(cherry picked from commit 05757cdc208d9fda0f20848553110978c91e6e47)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=864ab02ba8da38c71a50eeebeb54aa13c4a31dc4
---
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 b198392..3218f5e 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -250,7 +250,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;
#elif defined( HAVE_KERNEL_SCHEDULER_H )
More information about the vlc-devel
mailing list