diff --git a/modules/gui/minimal_macosx/intf.m b/modules/gui/minimal_macosx/intf.m index 9ad3d08796d32e16932e8134276debd9bd4621c4..aa88eab9804ef81f146163fe8d68b70ecca56d9f 100644 --- a/modules/gui/minimal_macosx/intf.m +++ b/modules/gui/minimal_macosx/intf.m @@ -58,7 +58,7 @@ int OpenIntf ( vlc_object_t *p_this ) p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); if( p_intf->p_sys == NULL ) { - return( 1 ); + return VLC_ENOMEM; } memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );