diff options
author | Mélanie Chauvel <perso@hack-libre.org> | 2021-12-10 01:05:29 +0100 |
---|---|---|
committer | Mélanie Chauvel <perso@hack-libre.org> | 2022-05-08 03:19:09 +0200 |
commit | 8ad8b3357314ee743785902d8d9bc795c044ee29 (patch) | |
tree | e2ab23f0a2a6919837e4c2578e93dc3e457d967c | |
parent | 8c2956a8fd8e26e0c852c669d321115e09646778 (diff) |
Fix build on aarch64 and armv7
-rw-r--r-- | src/fs/feature/xattr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/feature/xattr.rs b/src/fs/feature/xattr.rs index 542d205..65b8c95 100644 --- a/src/fs/feature/xattr.rs +++ b/src/fs/feature/xattr.rs @@ -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, ) } @@ -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, ) |