Fix build on aarch64 and armv7

This commit is contained in:
Mélanie Chauvel 2021-12-10 01:05:29 +01:00
parent 8c2956a8fd
commit 8ad8b33573

View File

@ -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,
)