]> git.sesse.net Git - vlc/commitdiff
Compile warning fixed
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 4 Nov 2004 21:37:28 +0000 (21:37 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 4 Nov 2004 21:37:28 +0000 (21:37 +0000)
src/misc/net.c

index db79817d96febfa087898e7c5012aa257cd4cace..953a7f6c79e486db7fc413f108ce999e9cebbd75 100644 (file)
@@ -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;