mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-27 15:48:28 +00:00
Merge pull request #87 from petevine/master
Fix compilation on arm using stable rust 1.5
This commit is contained in:
commit
47b088d662
@ -216,7 +216,7 @@ mod lister {
|
|||||||
};
|
};
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
listxattr(c_path.as_ptr(), ptr::null_mut(), 0)
|
listxattr(c_path.as_ptr() as *const _, ptr::null_mut(), 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ mod lister {
|
|||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
listxattr(
|
listxattr(
|
||||||
c_path.as_ptr(),
|
c_path.as_ptr() as *const _,
|
||||||
buf.as_mut_ptr() as *mut c_char,
|
buf.as_mut_ptr() as *mut c_char,
|
||||||
bufsize as size_t
|
bufsize as size_t
|
||||||
)
|
)
|
||||||
@ -243,7 +243,7 @@ mod lister {
|
|||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
getxattr(
|
getxattr(
|
||||||
c_path.as_ptr(),
|
c_path.as_ptr() as *const _,
|
||||||
buf.as_ptr() as *const c_char,
|
buf.as_ptr() as *const c_char,
|
||||||
ptr::null_mut(), 0
|
ptr::null_mut(), 0
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user