lib: media_discoverer: don't cast to vlc_object_t*

This commit is contained in:
Steve Lhomme 2022-06-28 09:24:31 +02:00
parent 3896ef5736
commit 119e63275a
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ libvlc_media_discoverer_start( libvlc_media_discoverer_t * p_mdis )
};
/* Here we go */
p_mdis->p_sd = vlc_sd_Create( (vlc_object_t *)p_mdis->p_libvlc_instance->p_libvlc_int,
p_mdis->p_sd = vlc_sd_Create( VLC_OBJECT(p_mdis->p_libvlc_instance->p_libvlc_int),
p_mdis->name, &owner );
if( p_mdis->p_sd == NULL )
{