Skip to content

Commit

Permalink
redox: relax type requirement for tv_nsec, fixing x86 32-bit (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 authored Aug 27, 2024
1 parent 256dfa6 commit 6c442d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn set_file_times_redox(fd: usize, atime: FileTime, mtime: FileTime) -> io::Resu
fn to_timespec(ft: &FileTime) -> TimeSpec {
TimeSpec {
tv_sec: ft.seconds(),
tv_nsec: ft.nanoseconds() as i64,
tv_nsec: ft.nanoseconds() as _,
}
}

Expand Down

0 comments on commit 6c442d1

Please # to comment.