Commit 864ab02b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use NULL rather than 0

(cherry picked from commit 05757cdc)
parent 8e2887ec
...@@ -250,7 +250,7 @@ int vlc_mutex_init( vlc_mutex_t *p_mutex ) ...@@ -250,7 +250,7 @@ int vlc_mutex_init( vlc_mutex_t *p_mutex )
return 0; return 0;
#elif defined( WIN32 ) #elif defined( WIN32 )
*p_mutex = CreateMutex( 0, FALSE, 0 ); *p_mutex = CreateMutex( NULL, FALSE, NULL );
return (*p_mutex != NULL) ? 0 : ENOMEM; return (*p_mutex != NULL) ? 0 : ENOMEM;
#elif defined( HAVE_KERNEL_SCHEDULER_H ) #elif defined( HAVE_KERNEL_SCHEDULER_H )
......
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