Skip to content

Commit 38067d6

Browse files
committed
Fix typo in Porting.md
1 parent e037023 commit 38067d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Documentation/Porting.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,10 @@ to load that information:
172172
+ }
173173
+ let sb = SectionBounds(
174174
+ imageAddress: UnsafeRawPointer(bitPattern: UInt(refNum)),
175-
+ start: handle.pointee!,
176-
+ size: GetHandleSize(handle)
175+
+ buffer: UnsafeRawBufferPointer(
176+
+ start: handle.pointee,
177+
+ count: GetHandleSize(handle)
178+
+ )
177179
+ )
178180
+ result.append(sb)
179181
+ } while noErr == GetNextResourceFile(refNum, &refNum))

0 commit comments

Comments
 (0)