We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e722d1a commit 836b475Copy full SHA for 836b475
Foundation/NSRange.swift
@@ -126,7 +126,7 @@ extension NSRange : Hashable {
126
public var hashValue: Int {
127
#if arch(i386) || arch(arm)
128
return Int(bitPattern: (UInt(bitPattern: location) | (UInt(bitPattern: length) << 16)))
129
- #elseif arch(x86_64) || arch(arm64)
+ #elseif arch(x86_64) || arch(arm64) || arch(s390x)
130
return Int(bitPattern: (UInt(bitPattern: location) | (UInt(bitPattern: length) << 32)))
131
#endif
132
}
0 commit comments