From 4f2cde33a2ecb73bd3b3e3d0ff89d08a40ba35c5 Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Tue, 2 Apr 2024 03:05:04 -0400 Subject: [PATCH] Fix warning (backport ) (cherry picked from commit 581bccc3fbeeb0482a843a9afc84811168354b5a) --- src/unix/aix/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/aix/mod.rs b/src/unix/aix/mod.rs index fc7a580eca28e..a7ef2a073b7c1 100644 --- a/src/unix/aix/mod.rs +++ b/src/unix/aix/mod.rs @@ -60,6 +60,7 @@ pub type posix_spawn_file_actions_t = *mut ::c_char; pub type iconv_t = *mut ::c_void; e! { + #[repr(u32)] pub enum uio_rw { UIO_READ = 0, UIO_WRITE,