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

Compile warning fixed

parent e07551ac
......@@ -90,7 +90,7 @@ int __net_OpenTCP( vlc_object_t *p_this, const char *psz_host, int i_port )
sock.i_type = NETWORK_TCP;
sock.psz_bind_addr = "";
sock.i_bind_port = 0;
sock.psz_server_addr = psz_host;
sock.psz_server_addr = (char *)psz_host;
sock.i_server_port = i_port;
sock.i_ttl = 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