Skip to content

Commit 9be5586

Browse files
authored
Merge pull request #41705 from compnerd/arm64-long
core: map UnsignedLong to UInt32
2 parents bff5d52 + 20ade9b commit 9be5586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/CTypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public typealias CUnsignedShort = UInt16
2828
public typealias CUnsignedInt = UInt32
2929

3030
/// The C 'unsigned long' type.
31-
#if os(Windows) && arch(x86_64)
31+
#if os(Windows) && (arch(x86_64) || arch(arm64))
3232
public typealias CUnsignedLong = UInt32
3333
#else
3434
public typealias CUnsignedLong = UInt

0 commit comments

Comments
 (0)