diff --git a/Sources/Foundation/RunLoop.swift b/Sources/Foundation/RunLoop.swift index 05cfa14946..b002e43ca6 100644 --- a/Sources/Foundation/RunLoop.swift +++ b/Sources/Foundation/RunLoop.swift @@ -323,7 +323,7 @@ extension RunLoop { }, hash: { (info) -> CFHashCode in let me = Unmanaged<_Source>.fromOpaque(info!).takeUnretainedValue() - return CFHashCode(me.hashValue) + return CFHashCode(bitPattern: me.hashValue) }, schedule: { (info, cfRunLoop, cfRunLoopMode) in let me = Unmanaged<_Source>.fromOpaque(info!).takeUnretainedValue()