projects
/
swifty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572834e
)
raw: Use cast to discard const qualifier.
author
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 14:35:10 +0000
(17:35 +0300)
committer
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 14:35:10 +0000
(17:35 +0300)
src/raw/swift_raw.c
patch
|
blob
|
history
diff --git
a/src/raw/swift_raw.c
b/src/raw/swift_raw.c
index
937c62d
..
f4850f1
100644
(file)
--- 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. */