diff options
Diffstat (limited to 'pfinet/io-ops.c')
-rw-r--r-- | pfinet/io-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/io-ops.c b/pfinet/io-ops.c index e5df059d..fa6350c3 100644 --- a/pfinet/io-ops.c +++ b/pfinet/io-ops.c @@ -42,7 +42,7 @@ S_io_write (struct sock_user *user, mach_msg_type_number_t *amount) { error_t err; - struct iovec iov = { data, datalen }; + struct iovec iov = { (void*) data, datalen }; struct msghdr m = { msg_name: 0, msg_namelen: 0, msg_flags: 0, msg_controllen: 0, msg_iov: &iov, msg_iovlen: 1 }; |