Commit 0dc1ef3e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warning

parent e3f73d0e
...@@ -398,7 +398,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap, ...@@ -398,7 +398,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
if( p_sap->b_control == VLC_TRUE ) if( p_sap->b_control == VLC_TRUE )
{ {
p_address->i_rfd = net_ListenUDP1( p_sap, psz_addr, SAP_PORT ); p_address->i_rfd = net_ListenUDP1( (vlc_object_t*)p_sap, psz_addr, SAP_PORT );
if( p_address->i_rfd != -1 ) if( p_address->i_rfd != -1 )
net_StopSend( p_address->i_rfd ); net_StopSend( p_address->i_rfd );
p_address->i_buff = 0; p_address->i_buff = 0;
......
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