Mercurial > mplayer.hg
changeset 3729:6cfc308bc74a
warning fix
author | pl |
---|---|
date | Tue, 25 Dec 2001 11:49:19 +0000 |
parents | 499ce786c30d |
children | 666a946a71b9 |
files | libmpdemux/rtp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/rtp.c Tue Dec 25 11:45:04 2001 +0000 +++ b/libmpdemux/rtp.c Tue Dec 25 11:49:19 2001 +0000 @@ -175,7 +175,7 @@ sin.sin_family=AF_INET; sin.sin_port=htons(port); sin.sin_addr.s_addr=inet_addr(szAddr); - if (bind(socket,&sin,sizeof(sin))) { + if (bind(socket,(struct sockaddr *) &sin,sizeof(sin))) { perror("bind failed"); exit(1); }