Fix compile errors for uwp-windows-msvc targets

This commit is contained in:
Chris Denton 2022-09-06 12:39:46 +01:00
parent a594044533
commit 774e71228c
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -403,7 +403,7 @@ impl File {
mem::size_of::<c::FILE_ATTRIBUTE_TAG_INFO>().try_into().unwrap(),
))?;
if attr_tag.FileAttributes & c::FILE_ATTRIBUTE_REPARSE_POINT != 0 {
reparse_tag = attr_tag.ReparseTag;
attr.reparse_tag = attr_tag.ReparseTag;
}
}
Ok(attr)