Skip to content

Commit 18a0234

Browse files
xingxue-ibmtgross35
authored andcommitted
Fix the type of the 4th arguement of getgrnam_r().
(backport <#4656>) (cherry picked from commit 8236b56)
1 parent 197f08d commit 18a0234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/aix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@ extern "C" {
29272927
name: *const c_char,
29282928
grp: *mut crate::group,
29292929
buf: *mut c_char,
2930-
buflen: c_int,
2930+
buflen: size_t,
29312931
result: *mut *mut crate::group,
29322932
) -> c_int;
29332933
pub fn getgrset(user: *const c_char) -> *mut c_char;

0 commit comments

Comments
 (0)