diff options
Diffstat (limited to 'src/libnative/io/pipe_unix.rs')
| -rw-r--r-- | src/libnative/io/pipe_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/pipe_unix.rs b/src/libnative/io/pipe_unix.rs index c222907fa5b..48f31615339 100644 --- a/src/libnative/io/pipe_unix.rs +++ b/src/libnative/io/pipe_unix.rs @@ -173,7 +173,7 @@ impl rtio::RtioPipe for UnixStream { let dowrite = |nb: bool, buf: *const u8, len: uint| unsafe { let flags = if nb {c::MSG_DONTWAIT} else {0}; libc::send(fd, - buf as *mut libc::c_void, + buf as *const _, len as libc::size_t, flags) as i64 }; |
