Skip to content

Commit 402bf38

Browse files
committed
Fix CI
1 parent a1061d7 commit 402bf38

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/sys/unix

1 file changed

+2
-2
lines changed

library/std/src/sys/unix/fd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl FileDesc {
134134
self.as_raw_fd(),
135135
bufs.as_ptr() as *const libc::iovec,
136136
cmp::min(bufs.len(), max_iov()) as c_int,
137-
offset as i64,
137+
offset as _,
138138
)
139139
})?;
140140
Ok(ret as usize)
@@ -214,7 +214,7 @@ impl FileDesc {
214214
self.as_raw_fd(),
215215
bufs.as_ptr() as *const libc::iovec,
216216
cmp::min(bufs.len(), max_iov()) as c_int,
217-
offset as i64,
217+
offset as _,
218218
)
219219
})?;
220220
Ok(ret as usize)

0 commit comments

Comments
 (0)