From 1b770a860d82f6d7069942e3c8d29455158068c9 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 24 Mar 2024 18:01:05 +0900 Subject: [PATCH] Fix c_char on AIX Refs: https://github.com/rust-lang/rust/issues/122985 --- src/unix/aix/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/aix/mod.rs b/src/unix/aix/mod.rs index 0fc923d6072f0..b3ce43a3722d1 100644 --- a/src/unix/aix/mod.rs +++ b/src/unix/aix/mod.rs @@ -1,4 +1,4 @@ -pub type c_char = i8; +pub type c_char = u8; pub type caddr_t = *mut ::c_char; pub type clockid_t = ::c_longlong; pub type blkcnt_t = ::c_long;