summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index f3f9d4f..fef0729 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -275,7 +275,7 @@ static int tcp_get_window_size(URLContext *h)
{
TCPContext *s = h->priv_data;
int avail;
- int avail_len = sizeof(avail);
+ socklen_t avail_len = sizeof(avail);
#if HAVE_WINSOCK2_H
/* SO_RCVBUF with winsock only reports the actual TCP window size when
OpenPOWER on IntegriCloud