diff options
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index c6f0a1f..a88fbe4 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -312,7 +312,7 @@ static int udp_set_url(struct sockaddr_storage *addr, } static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr, - int *addr_len, const char *localaddr) + socklen_t *addr_len, const char *localaddr) { int udp_fd = -1; struct addrinfo *res0 = NULL, *res = NULL; @@ -500,7 +500,7 @@ static int udp_open(URLContext *h, const char *uri, int flags) const char *p; char buf[256]; struct sockaddr_storage my_addr; - int len; + socklen_t len; int reuse_specified = 0; int i, include = 0, num_sources = 0; char *sources[32]; |