Skip to content

Commit bffed84

Browse files
authored
Merge pull request #1904 from glaubitz/sparc-linux
Fix type definition for c_char on sparc-unknown-linux-gnu
2 parents 8cdddfd + 772a3ac commit bffed84

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)