[vlc-commits] https: missing cast
Rémi Denis-Courmont
git at videolan.org
Sun Jan 10 19:57:27 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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;
More information about the vlc-commits
mailing list