From 025b71af86dcc3626654b3acffc47878017ef8c7 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 12 Sep 2025 19:11:39 +0100 Subject: [PATCH] Fix gid_t/uid_t types for redox. ref #4678 --- src/unix/redox/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index de8387d88131..764de6db5d56 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -29,8 +29,8 @@ pub type tcflag_t = u32; pub type time_t = c_longlong; pub type id_t = c_uint; pub type pid_t = usize; -pub type uid_t = u32; -pub type gid_t = u32; +pub type uid_t = c_int; +pub type gid_t = c_int; #[cfg_attr(feature = "extra_traits", derive(Debug))] pub enum timezone {}