diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2020-09-27 23:15:08 +0200 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2020-09-27 23:27:30 +0200 |
commit | 772a3acfa661b068bd6aa2bd9494deb0402916f8 (patch) | |
tree | c79097dcdc6aa2611437fda499112396a7753095 | |
parent | 87d3a326b20b879b7376cc0866a9f4f417414ed3 (diff) | |
download | rust-libc-772a3acfa661b068bd6aa2bd9494deb0402916f8.tar.gz |
Fix type definition for c_char on sparc-unknown-linux-gnu
On sparc-unknown-linux-gnu, char is signed, not unsigned.
-rw-r--r-- | src/unix/linux_like/linux/gnu/b32/sparc/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/linux_like/linux/gnu/b32/sparc/mod.rs b/src/unix/linux_like/linux/gnu/b32/sparc/mod.rs index aaa8008701..3df44ad183 100644 --- a/src/unix/linux_like/linux/gnu/b32/sparc/mod.rs +++ b/src/unix/linux_like/linux/gnu/b32/sparc/mod.rs @@ -1,6 +1,6 @@ //! SPARC-specific definitions for 32-bit linux-like values -pub type c_char = u8; +pub type c_char = i8; pub type wchar_t = i32; s! { |