]> git.sesse.net Git - vlc/commitdiff
Cast interface pointer to VLC_OBJECT().
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 16 May 2007 14:51:17 +0000 (14:51 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 16 May 2007 14:51:17 +0000 (14:51 +0000)
modules/control/netsync.c

index 3050943dcaceced8e94596d0f80dd72353dfb370..f76630dd26dd108708d44a9ef804bdb3efba5f9c 100644 (file)
@@ -148,9 +148,9 @@ static void Run( intf_thread_t *p_intf )
     }
 
     if( b_master )
-        i_socket = net_ListenUDP1( p_intf, NULL, NETSYNC_PORT );
+        i_socket = net_ListenUDP1( VLC_OBJECT(p_intf), NULL, NETSYNC_PORT );
     else
-        i_socket = net_ConnectUDP( p_intf, psz_master, NETSYNC_PORT, 0 );
+        i_socket = net_ConnectUDP( VLC_OBJECT(p_intf), psz_master, NETSYNC_PORT, 0 );
 
     if( psz_master ) free( psz_master );