vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Jan 10 
20:57:18 2016 +0200| [1a24ef3fc0397b5efa126607075e4ced9f52a271] | committer: 
Rémi Denis-Courmont

https: missing cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a24ef3fc0397b5efa126607075e4ced9f52a271
---

 modules/access/http/tunnel_test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/http/tunnel_test.c 
b/modules/access/http/tunnel_test.c
index 95f7d79..75e6eaf 100644
--- a/modules/access/http/tunnel_test.c
+++ b/modules/access/http/tunnel_test.c
@@ -115,7 +115,7 @@ static int server_socket(unsigned *port)
     socklen_t addrlen = sizeof (addr);
 
     if (bind(fd, (struct sockaddr *)&addr, addrlen)
-     || getsockname(fd, &addr, &addrlen))
+     || getsockname(fd, (struct sockaddr *)&addr, &addrlen))
     {
         close(fd);
         return -1;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to