Skip to content

Commit

Permalink
Corrects signedness of c_char for Linux musl Aarch64 & ppc64.
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLestringant committed Aug 22, 2016
1 parent e771674 commit 71304b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pub type c_char = u8;

pub const SYS_perf_event_open: ::c_long = 241;
1 change: 0 additions & 1 deletion src/unix/notbsd/linux/musl/b64/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub type c_char = i8;
pub type wchar_t = i32;
pub type c_long = i64;
pub type c_ulong = u64;
Expand Down
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/powerpc64.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pub type c_char = u8;

pub const SYS_perf_event_open: ::c_long = 319;
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/x86_64.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pub type c_char = i8;

s! {
pub struct mcontext_t {
__private: [u64; 32],
Expand Down

0 comments on commit 71304b6

Please sign in to comment.