<!DOCTYPE html><html><head><title></title><style type="text/css">#qt li[style="text-align: center;"],#qt li[style="text-align: center; "],#qt li[style="text-align: right;"],#qt li[style="text-align: right; "]{list-style-position:inside;}
#qt {font-family:Segoe UI;font-size:12pt;}

p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Indeed, then do something like "if (es_id == &other->id)"<br></div><div><br></div><div>On Mon, Oct 26, 2020, at 13:50, Prince wrote:<br></div><blockquote type="cite" id="qt" style=""><div><br></div><div>>> -                else if( es_id->i_id == other->id.i_id )<br></div><div>>> +                else if( es_id == ( vlc_es_id_t * )other )<br></div><div><br></div><div>>The cast is useless here.<br></div><div><br></div><div>There was a warning without this cast, es_id and other has different type.<br></div><div><br></div><div>>                  {<br></div><div>>                      select = true;<br></div><div>>                      break;<br></div><div> <br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></blockquote><div><br></div></body></html>