aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-09-27 19:47:39 +0000
committerMåns Rullgård <mans@mansr.com>2006-09-27 19:47:39 +0000
commit191e8ca75279073699e0c0f25128b2b2088d1cbb (patch)
tree7c9089d9008566884d42bad2f3294eb318a0e5d9 /libavformat/udp.c
parentd80f243ae996ced4bce81b12ada3af7803ce36f0 (diff)
downloadffmpeg-191e8ca75279073699e0c0f25128b2b2088d1cbb.tar.gz
fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index fb72096db5..6ee84e260f 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -428,7 +428,8 @@ static int udp_read(URLContext *h, uint8_t *buf, int size)
#else
struct sockaddr_storage from;
#endif
- int from_len, len;
+ socklen_t from_len;
+ int len;
for(;;) {
from_len = sizeof(from);