提交 8ad8b335 编写于 作者: M Mélanie Chauvel

Fix build on aarch64 and armv7

上级 8c2956a8
......@@ -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,
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册