From 688b6380bd352a97825471fa2e44bb455bf1c2c9 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Fri, 19 Jun 2026 23:28:11 -0700 Subject: [PATCH] Fix compiler diff for unsafe --- Sources/Packages/Sources/SecretAgentKit/SocketController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Packages/Sources/SecretAgentKit/SocketController.swift b/Sources/Packages/Sources/SecretAgentKit/SocketController.swift index cff1e03..0a2eb35 100644 --- a/Sources/Packages/Sources/SecretAgentKit/SocketController.swift +++ b/Sources/Packages/Sources/SecretAgentKit/SocketController.swift @@ -166,7 +166,7 @@ private extension sockaddr_un { mutating func setPath(_ path: String) -> Int { #if compiler(<6.4) - unsafe withUnsafeMutablePointer(to: &addr.sun_path.0) { pointer in + unsafe withUnsafeMutablePointer(to: &self.sun_path.0) { pointer in unsafe path.withCString { cstring in let len = unsafe strlen(cstring) unsafe strncpy(pointer, cstring, len)