[FFmpeg-cvslog] sctp: silence const warning
Michael Niedermayer
git at videolan.org
Thu Nov 8 16:09:33 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 8 16:06:04 2012 +0100| [5ff43ec72dac5ec3b0a7fc07c12d1152daadf15f] | committer: Michael Niedermayer
sctp: silence const warning
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ff43ec72dac5ec3b0a7fc07c12d1152daadf15f
---
libavformat/sctp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index b8ab63e..7fbc11f 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -121,7 +121,7 @@ static int ff_sctp_send(int s, const void *msg, size_t len,
outmsg.msg_name = NULL;
outmsg.msg_namelen = 0;
outmsg.msg_iov = &iov;
- iov.iov_base = msg;
+ iov.iov_base = (void*)msg;
iov.iov_len = len;
outmsg.msg_iovlen = 1;
outmsg.msg_controllen = 0;
More information about the ffmpeg-cvslog
mailing list