Skip to content

Commit 7a75f2f

Browse files
committed
Update SocketAddress
1 parent b5897cc commit 7a75f2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/Socket/System/SocketAddress.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ public protocol SocketAddress: Sendable {
88

99
/// Unsafe pointer closure
1010
func withUnsafePointer<Result, Error>(
11-
_ body: (UnsafePointer<CInterop.SocketAddress>, UInt32) throws(Error) -> Result
11+
_ body: (UnsafePointer<CInterop.SocketAddress>, CInterop.SocketLength) throws(Error) -> Result
1212
) rethrows -> Result where Error: Swift.Error
1313

1414
static func withUnsafePointer(
1515
_ pointer: UnsafeMutablePointer<CInterop.SocketAddress>
1616
) -> Self
1717

1818
static func withUnsafePointer(
19-
_ body: (UnsafeMutablePointer<CInterop.SocketAddress>, UInt32) throws -> ()
19+
_ body: (UnsafeMutablePointer<CInterop.SocketAddress>, CInterop.SocketLength) throws -> ()
2020
) rethrows -> Self
2121
}
2222

0 commit comments

Comments
 (0)