mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 02:46:29 +00:00
standard
This commit is contained in:
parent
76165007ba
commit
3d81e68124
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user