Skip to content

Commit a02e90f

Browse files
authored
Change return type of gid function from uid_t to gid_t (#1609)
This seems to be a typo.
1 parent 907a38e commit a02e90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationEssentials/Platform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ extension Platform {
163163
}
164164
}
165165

166-
static func gid(forName name: String) -> uid_t? {
166+
static func gid(forName name: String) -> gid_t? {
167167
withUserGroupBuffer(name, group(), sizeProperty: Int32(_SC_GETGR_R_SIZE_MAX), operation: getgrnam_r) {
168168
$0.gr_gid
169169
}

0 commit comments

Comments
 (0)