Skip to content

Commit

Permalink
Rollup merge of rust-lang#128211 - juliusl:pr/align-change-time, r=tg…
Browse files Browse the repository at this point in the history
…ross35

fix: compilation issue w/ refactored type

Fixes a compilation issue related to rust-lang#121478
  • Loading branch information
matthiaskrgr authored Jul 25, 2024
2 parents ba0582b + 1342ef1 commit cb8f69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/src/sys/pal/windows/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ impl File {
dwHighDateTime: (info.LastWriteTime >> 32) as u32,
},
change_time: Some(c::FILETIME {
dhLowDateTime: info.ChangeTime as c::DWORD,
dhHighDateTime: (info.ChangeTime >> 32) as c::DWORD,
dwLowDateTime: info.ChangeTime as u32,
dwHighDateTime: (info.ChangeTime >> 32) as u32,
}),
file_size: 0,
reparse_tag: 0,
Expand Down

0 comments on commit cb8f69b

Please sign in to comment.