diff options
author | petevine <davine@poczta.onet.pl> | 2015-12-11 05:50:20 +0100 |
---|---|---|
committer | petevine <davine@poczta.onet.pl> | 2015-12-11 05:50:20 +0100 |
commit | 734c5084ba90c93459eee65fa09da46d583a92b7 (patch) | |
tree | 4d2a57a653c7403cc7de458bec53332d03d4b87c /src | |
parent | f3e6a99676624a7c4338dedd6e029815d3a48adb (diff) |
Update xattr.rs
Diffstat (limited to 'src')
-rw-r--r-- | src/feature/xattr.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/xattr.rs b/src/feature/xattr.rs index 8682087..cad720c 100644 --- a/src/feature/xattr.rs +++ b/src/feature/xattr.rs @@ -215,7 +215,7 @@ mod lister { }; unsafe { - listxattr(c_path.as_ptr(), ptr::null_mut(), 0) + listxattr(c_path.as_ptr() as *const _, ptr::null_mut(), 0) } } @@ -227,7 +227,7 @@ mod lister { unsafe { listxattr( - c_path.as_ptr(), + c_path.as_ptr() as *const _, buf.as_mut_ptr() as *mut c_char, bufsize as size_t ) @@ -242,7 +242,7 @@ mod lister { unsafe { getxattr( - c_path.as_ptr(), + c_path.as_ptr() as *const _, buf.as_ptr() as *const c_char, ptr::null_mut(), 0 ) |