Skip to content

Commit 025b71a

Browse files
devnexentgross35
authored andcommitted
Fix gid_t/uid_t types for redox.
ref #4678
1 parent fbfa292 commit 025b71a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/redox/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ pub type tcflag_t = u32;
2929
pub type time_t = c_longlong;
3030
pub type id_t = c_uint;
3131
pub type pid_t = usize;
32-
pub type uid_t = u32;
33-
pub type gid_t = u32;
32+
pub type uid_t = c_int;
33+
pub type gid_t = c_int;
3434

3535
#[cfg_attr(feature = "extra_traits", derive(Debug))]
3636
pub enum timezone {}

0 commit comments

Comments
 (0)