Skip to content

Commit c9e3a73

Browse files
committed
Change path to string. Fixes compile
1 parent 13d2578 commit c9e3a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file/mft.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn extract_data_streams(parser: &mut Parser, entry: &MftEntry) -> crate::Res
156156
// Replace file path seperators with underscores
157157

158158
let sanitized_path = path
159-
.to_string_lossy()
159+
.to_string()
160160
.chars()
161161
.map(|c| if path::is_separator(c) { '_' } else { c })
162162
.collect::<String>();

0 commit comments

Comments
 (0)