Closed methane closed 9 years ago
https://github.com/ugorji/go/blob/master/codec/msgpack.go#L375-L378
if n.v == valueTypeUint && d.h.SignedInteger {
n.v = valueTypeInt
n.i = int64(n.v)
}
The third line should be n.i = int64(n.u)
.
Damn!!!!! That's terrible. Let me get on it once I get off work. Or if u send a pull request, will accept right away.
Input:
expect:
int64 5
actual:
int64 2