From: Razvan Deaconescu Date: Sat, 21 May 2011 14:35:10 +0000 (+0300) Subject: raw: Use cast to discard const qualifier. X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=2092aaa0762a3bc3feb98a1d5571f210e9eabefa;p=swifty.git raw: Use cast to discard const qualifier. --- diff --git a/src/raw/swift_raw.c b/src/raw/swift_raw.c index 937c62d..f4850f1 100644 --- a/src/raw/swift_raw.c +++ b/src/raw/swift_raw.c @@ -155,7 +155,7 @@ ssize_t sw_sendto(int __fd, __const void *__buf, size_t __n, */ /* Specify the components of the message in an "iovec". */ - __iov[0].iov_base = __buf; + __iov[0].iov_base = (void *) __buf; __iov[0].iov_len = __n; /* The message header contains parameters for sendmsg. */