Skip to content

Commit

Permalink
Fix build on aarch64 and armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
ariasuni committed May 8, 2022
1 parent 8c2956a commit 8ad8b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs/feature/xattr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ mod lister {
unsafe {
listxattr(
c_path.as_ptr().cast(),
buf.as_mut_ptr().cast::<i8>(),
buf.as_mut_ptr().cast(),
bufsize as size_t,
)
}
Expand All @@ -277,7 +277,7 @@ mod lister {
unsafe {
getxattr(
c_path.as_ptr().cast(),
buf.as_ptr().cast::<i8>(),
buf.as_ptr().cast(),
ptr::null_mut(),
0,
)
Expand Down

0 comments on commit 8ad8b33

Please sign in to comment.