From 1a6fc93d03738d9cc82b6c9b0b287006736c6525 Mon Sep 17 00:00:00 2001 From: AZero13 Date: Wed, 19 Nov 2025 13:58:05 -0500 Subject: [PATCH] Change return type of gid function from uid_t to gid_t This seems to be a typo. --- Sources/FoundationEssentials/Platform.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/FoundationEssentials/Platform.swift b/Sources/FoundationEssentials/Platform.swift index da4977be8..a7aad439e 100644 --- a/Sources/FoundationEssentials/Platform.swift +++ b/Sources/FoundationEssentials/Platform.swift @@ -163,7 +163,7 @@ extension Platform { } } - static func gid(forName name: String) -> uid_t? { + static func gid(forName name: String) -> gid_t? { withUserGroupBuffer(name, group(), sizeProperty: Int32(_SC_GETGR_R_SIZE_MAX), operation: getgrnam_r) { $0.gr_gid }