We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f76da6 commit 0268214Copy full SHA for 0268214
Sources/PackageDescription/Version.swift
@@ -56,7 +56,7 @@ extension Version: Hashable {
56
if let build = buildMetadataIdentifier {
57
result = (result &* mul) ^ UInt64(build.hashValue)
58
}
59
- return Int(bitPattern: UInt(result))
+ return Int(truncatingBitPattern: result)
60
61
62
0 commit comments