diff options
author | Michael Niedermayer | 2012-11-08 16:06:04 +0100 |
---|---|---|
committer | Michael Niedermayer | 2012-11-08 16:06:04 +0100 |
commit | 5ff43ec72dac5ec3b0a7fc07c12d1152daadf15f (patch) | |
tree | 71ab6c03b0d7d1569a89b27a262c642b3b4bba6b /libavformat/sctp.c | |
parent | 60e028958c21b260edf08873ce0a275a508e51e9 (diff) |
sctp: silence const warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/sctp.c')
-rw-r--r-- | libavformat/sctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sctp.c b/libavformat/sctp.c index b8ab63e7da..7fbc11fc28 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; |