Skip to content

Commit 772a3ac

Browse files
committed
Fix type definition for c_char on sparc-unknown-linux-gnu
On sparc-unknown-linux-gnu, char is signed, not unsigned.
1 parent 87d3a32 commit 772a3ac

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/gnu/b32/sparc

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/gnu/b32/sparc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! SPARC-specific definitions for 32-bit linux-like values
22
3-
pub type c_char = u8;
3+
pub type c_char = i8;
44
pub type wchar_t = i32;
55

66
s! {

0 commit comments

Comments
 (0)