Skip to content

Commit

Permalink
Merge #1991
Browse files Browse the repository at this point in the history
1991: setgroups type mismatches on Solaris #1986 r=asomers a=gco

Addresses #1986 

Co-authored-by: gco <gco@jazzhaiku.com>
  • Loading branch information
bors[bot] and gco authored Feb 9, 2023
2 parents 1a838c7 + 1d31d0d commit 348e238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,8 @@ pub fn setgroups(groups: &[Gid]) -> Result<()> {
target_os = "ios",
target_os = "macos",
target_os = "netbsd",
target_os = "illumos",
target_os = "openbsd"))] {
target_os = "openbsd",
target_os = "solaris"))] {
type setgroups_ngroups_t = c_int;
} else {
type setgroups_ngroups_t = size_t;
Expand Down

0 comments on commit 348e238

Please sign in to comment.