We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1061d7 commit 402bf38Copy full SHA for 402bf38
library/std/src/sys/unix/fd.rs
@@ -134,7 +134,7 @@ impl FileDesc {
134
self.as_raw_fd(),
135
bufs.as_ptr() as *const libc::iovec,
136
cmp::min(bufs.len(), max_iov()) as c_int,
137
- offset as i64,
+ offset as _,
138
)
139
})?;
140
Ok(ret as usize)
@@ -214,7 +214,7 @@ impl FileDesc {
214
215
216
217
218
219
220
0 commit comments