[vlc-commits] sdp: fix mismatched type, fix warning

Rémi Denis-Courmont git at videolan.org
Sun Apr 14 09:05:31 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 09:35:08 2019 +0300| [1823e873605068e731ef184972dfc53446852154] | committer: Rémi Denis-Courmont

sdp: fix mismatched type, fix warning

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

 src/stream_output/sdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stream_output/sdp.c b/src/stream_output/sdp.c
index 613b3ed5af..c57c6117fc 100644
--- a/src/stream_output/sdp.c
+++ b/src/stream_output/sdp.c
@@ -38,7 +38,7 @@
 #define MAXSDPADDRESS 47
 
 static
-char *AddressToSDP (const struct sockaddr *addr, socklen_t addrlen, char *buf)
+char *AddressToSDP (const struct sockaddr *addr, size_t addrlen, char *buf)
 {
     if (addrlen < offsetof (struct sockaddr, sa_family)
                  + sizeof (addr->sa_family))



More information about the vlc-commits mailing list