Skip to content

Commit bcd950a

Browse files
devnexentgross35
authored andcommitted
Fix gid_t/uid_t types for redox.
ref #4678 (backport <#4689>) (cherry picked from commit f87a548) [ update link in message to be absolute - Trevor ]
1 parent d995b3c commit bcd950a

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)