sctp: silence const warning
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Nov 2012 15:06:04 +0000 (16:06 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Nov 2012 15:06:04 +0000 (16:06 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/sctp.c

index b8ab63e..7fbc11f 100644 (file)
@@ -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;