Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr committed Oct 4, 2021
1 parent a1061d7 commit 402bf38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/sys/unix/fd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl FileDesc {
self.as_raw_fd(),
bufs.as_ptr() as *const libc::iovec,
cmp::min(bufs.len(), max_iov()) as c_int,
offset as i64,
offset as _,
)
})?;
Ok(ret as usize)
Expand Down Expand Up @@ -214,7 +214,7 @@ impl FileDesc {
self.as_raw_fd(),
bufs.as_ptr() as *const libc::iovec,
cmp::min(bufs.len(), max_iov()) as c_int,
offset as i64,
offset as _,
)
})?;
Ok(ret as usize)
Expand Down

0 comments on commit 402bf38

Please sign in to comment.