Commit 05757cdc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use NULL rather than 0

parent 12e7640e
...@@ -263,7 +263,7 @@ int vlc_mutex_init( vlc_mutex_t *p_mutex ) ...@@ -263,7 +263,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;
#endif #endif
......
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