This commit is contained in:
Feross Aboukhadijeh 2017-02-08 16:22:13 -08:00
parent 76165007ba
commit 3d81e68124

View File

@ -71,5 +71,5 @@ function fromUInt64 (buf) {
var low = buf.readUInt32BE(4) | 0 var low = buf.readUInt32BE(4) | 0
var lowUnsigned = (low >= 0) ? low : TWO_PWR_32 + low var lowUnsigned = (low >= 0) ? low : TWO_PWR_32 + low
return high * TWO_PWR_32 + lowUnsigned return (high * TWO_PWR_32) + lowUnsigned
} }