mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-10 14:50:57 +00:00
Fix build on aarch64 and armv7
This commit is contained in:
parent
8c2956a8fd
commit
8ad8b33573
@ -262,7 +262,7 @@ mod lister {
|
|||||||
unsafe {
|
unsafe {
|
||||||
listxattr(
|
listxattr(
|
||||||
c_path.as_ptr().cast(),
|
c_path.as_ptr().cast(),
|
||||||
buf.as_mut_ptr().cast::<i8>(),
|
buf.as_mut_ptr().cast(),
|
||||||
bufsize as size_t,
|
bufsize as size_t,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -277,7 +277,7 @@ mod lister {
|
|||||||
unsafe {
|
unsafe {
|
||||||
getxattr(
|
getxattr(
|
||||||
c_path.as_ptr().cast(),
|
c_path.as_ptr().cast(),
|
||||||
buf.as_ptr().cast::<i8>(),
|
buf.as_ptr().cast(),
|
||||||
ptr::null_mut(),
|
ptr::null_mut(),
|
||||||
0,
|
0,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user