Skip to content

Commit

Permalink
Fix issue with using u16 mask on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbings committed Aug 11, 2024
1 parent 5a32387 commit aeedbfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/find/matchers/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ impl Ls {
number_of_blocks + (4 - (remainder))

Check warning on line 142 in src/find/matchers/ls.rs

View check run for this annotation

Codecov / codecov/patch

src/find/matchers/ls.rs#L142

Added line #L142 was not covered by tests
}
};
let permission = { format_permissions(metadata.permissions().mode()) };
let permission =
{ format_permissions(metadata.permissions().mode() as uucore::libc::mode_t) };
let hard_links = metadata.nlink();
let user = {
let uid = metadata.uid();
Expand Down

0 comments on commit aeedbfc

Please sign in to comment.