Skip to content

Commit f8c21d3

Browse files
authored
Merge pull request #1694 from Kaiede/arm32NSCFType
Align __NSCFType with CFRuntimeBase / _CFInfo
2 parents 556857a + 7e741a6 commit f8c21d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Foundation/NSSwiftRuntime.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ extension ObjCBool : CustomStringConvertible {
8888

8989
@usableFromInline
9090
internal class __NSCFType : NSObject {
91-
private var _cfinfo : Int32
91+
private var _cfinfo : _CFInfo
9292

9393
override init() {
9494
// This is not actually called; _CFRuntimeCreateInstance will initialize _cfinfo
95-
_cfinfo = 0
95+
_cfinfo = _CFInfo(typeID: 0)
9696
}
9797

9898
override var hash: Int {

0 commit comments

Comments
 (0)