]> git.sesse.net Git - vlc/commitdiff
Fix warning
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 6 Nov 2006 17:28:55 +0000 (17:28 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 6 Nov 2006 17:28:55 +0000 (17:28 +0000)
src/stream_output/sap.c

index a6ce5c2d44ed7cdc449a784f7ac35e9f1051f723..50e7acdd6f9765de45f442d53f47f3bfa04bdc5c 100644 (file)
@@ -398,7 +398,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
 
         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 )
                 net_StopSend( p_address->i_rfd );
             p_address->i_buff = 0;