We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15cb3e0 commit 2ee45c9Copy full SHA for 2ee45c9
src/libstd/sys/unix/fs.rs
@@ -310,7 +310,7 @@ impl FileAttr {
310
return if (ext.stx_mask & libc::STATX_BTIME) != 0 {
311
Ok(SystemTime::from(libc::timespec {
312
tv_sec: ext.stx_btime.tv_sec as libc::time_t,
313
- tv_nsec: ext.stx_btime.tv_nsec as libc::c_long,
+ tv_nsec: ext.stx_btime.tv_nsec as _,
314
}))
315
} else {
316
Err(io::Error::new(
0 commit comments