diff options
author | Taylor Trump <MagaTailor@users.noreply.github.com> | 2017-01-05 15:21:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 15:21:24 +0100 |
commit | fb3a9fa80ab7eb458cf384e02e8ba91af4d03b31 (patch) | |
tree | c9982d128635303a529eaa3c079fba313cadb5a9 | |
parent | 54525dedb646f61207edaf58933be02ab6bff2f2 (diff) | |
download | alacritty-fb3a9fa80ab7eb458cf384e02e8ba91af4d03b31.tar.gz alacritty-fb3a9fa80ab7eb458cf384e02e8ba91af4d03b31.zip |
Fix ARM
-rw-r--r-- | src/tty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd { // Try and read the pw file. let uid = unsafe { libc::getuid() }; let status = unsafe { - libc::getpwuid_r(uid, &mut entry, buf.as_mut_ptr(), buf.len(), &mut res) + libc::getpwuid_r(uid, &mut entry, buf.as_mut_ptr() as *mut _, buf.len(), &mut res) }; if status < 0 { |