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 1b0fad0 commit 76f6eb5Copy full SHA for 76f6eb5
Sources/MessagePack/ConvenienceProperties.swift
@@ -48,7 +48,7 @@ extension MessagePackValue {
48
switch self {
49
case .int(let value):
50
return value
51
- case .uint(let value) where value < UInt64(Int64.max):
+ case .uint(let value) where value <= UInt64(Int64.max):
52
return Int64(value)
53
default:
54
return nil
0 commit comments