Skip to content

Commit 8236b56

Browse files
xingxue-ibmtgross35
authored andcommitted
Fix the type of the 4th arguement of getgrnam_r().
1 parent 1e8377c commit 8236b56

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
@@ -2924,7 +2924,7 @@ extern "C" {
29242924
name: *const c_char,
29252925
grp: *mut crate::group,
29262926
buf: *mut c_char,
2927-
buflen: c_int,
2927+
buflen: size_t,
29282928
result: *mut *mut crate::group,
29292929
) -> c_int;
29302930
pub fn getgrset(user: *const c_char) -> *mut c_char;

0 commit comments

Comments
 (0)