diff options
author | Benjamin Sago <ogham@users.noreply.github.com> | 2015-12-15 20:15:16 +0000 |
---|---|---|
committer | Benjamin Sago <ogham@users.noreply.github.com> | 2015-12-15 20:15:16 +0000 |
commit | 47b088d66201961b6ca400153e0c5e517dac12cb (patch) | |
tree | 4f5205a95c93285cf28255cf614e355a4acd106e /src | |
parent | f2143d948cf4e92e6c43dbbf76b1d39020861e2d (diff) | |
parent | 734c5084ba90c93459eee65fa09da46d583a92b7 (diff) |
Merge pull request #87 from petevine/master
Fix compilation on arm using stable rust 1.5
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 c705d1d..8884e54 100644 --- a/src/feature/xattr.rs +++ b/src/feature/xattr.rs @@ -216,7 +216,7 @@ mod lister { }; 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 { listxattr( - c_path.as_ptr(), + c_path.as_ptr() as *const _, buf.as_mut_ptr() as *mut c_char, bufsize as size_t ) @@ -243,7 +243,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 ) |