Skip to content

Commit 69c9c54

Browse files
author
MikaelUrankar
committed
char is unsigned on FreeBSD aarch64 and powerpc64
1 parent 6c1e2de commit 69c9c54

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pub type c_char = i8;
12
pub type clock_t = u64;
23
pub type ino_t = u64;
34
pub type lwpid_t = i32;

src/unix/bsd/freebsdlike/freebsd/aarch64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use dox::mem;
22

3+
pub type c_char = u8;
34
pub type c_long = i64;
45
pub type c_ulong = u64;
56
pub type time_t = i64;

src/unix/bsd/freebsdlike/freebsd/powerpc64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pub type c_char = u8;
12
pub type c_long = i64;
23
pub type c_ulong = u64;
34
pub type time_t = i64;

src/unix/bsd/freebsdlike/freebsd/x86.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use dox::mem;
22

3+
pub type c_char = i8;
34
pub type c_long = i32;
45
pub type c_ulong = u32;
56
pub type time_t = i32;

src/unix/bsd/freebsdlike/freebsd/x86_64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use dox::mem;
22

3+
pub type c_char = i8;
34
pub type c_long = i64;
45
pub type c_ulong = u64;
56
pub type time_t = i64;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
pub type c_char = i8;
21
pub type dev_t = u32;
32
pub type mode_t = u16;
43
pub type pthread_attr_t = *mut ::c_void;

0 commit comments

Comments
 (0)