[vlc-devel] [PATCH 01/22] libvlc: don't use i_id to compare es
Thomas Guillem
thomas at gllm.fr
Mon Oct 26 13:52:24 CET 2020
Indeed, then do something like "if (es_id == &other->id)"
On Mon, Oct 26, 2020, at 13:50, Prince wrote:
>
> >> - else if( es_id->i_id == other->id.i_id )
> >> + else if( es_id == ( vlc_es_id_t * )other )
>
> >The cast is useless here.
>
> There was a warning without this cast, es_id and other has different type.
>
> > {
> > select = true;
> > break;
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20201026/d751c75c/attachment.html>
More information about the vlc-devel
mailing list