about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-26 00:57:24 +0200
committerGitHub <noreply@github.com>2024-07-26 00:57:24 +0200
commitd87fa5e788362b4bdc7ded991fe3af676eef4221 (patch)
treefbc4769ecd721f21e3744466bcf321b76ca3a32b
parentd03c56f45df4e742200cd79aee13b47e8d7f02a2 (diff)
parente141b071640964cc626faa8dcf69ddcb1e24b4a7 (diff)
downloadrust-d87fa5e788362b4bdc7ded991fe3af676eef4221.tar.gz
rust-d87fa5e788362b4bdc7ded991fe3af676eef4221.zip
Rollup merge of #128211 - juliusl:pr/align-change-time, r=tgross35
fix: compilation issue w/ refactored type

Fixes a compilation issue related to #121478
-rw-r--r--library/std/src/sys/pal/windows/fs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/windows/fs.rs b/library/std/src/sys/pal/windows/fs.rs
index 15d446786ad..ea19bd1e961 100644
--- a/library/std/src/sys/pal/windows/fs.rs
+++ b/library/std/src/sys/pal/windows/fs.rs
@@ -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,