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

@ -13,6 +13,7 @@ Released on 13/12/2020
- General performance and code improvements
- Improved symlinks management
- Possibility to abort file transfers
- Keybindings:
- `E`: Delete file (Same as `DEL`); added because some keyboards don't have `DEL` (hey, that's my MacBook Air's keyboard!)
- `Ctrl+C`: Abort transfer process

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