Windows fix for fs mod

This commit is contained in:
ChristianVisintin
2020-12-12 22:04:59 +01:00
parent a8a9cb9d2e
commit 619ac4e753
2 changed files with 2 additions and 1 deletions

View File

@@ -248,7 +248,7 @@ impl std::fmt::Display for FsEntry {
};
#[cfg(target_os = "windows")]
let username: usize = match self.get_user() {
Some(uid) => uid,
Some(uid) => uid as usize,
None => 0,
};
// Get group