Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overflows of untyped int constants on 32-bit
9223372036 as an untyped int constant will overflow on 32-bit archs. math.MaxInt64 is an untyped int constant (1<<63 - 1), and will thus also overflow on 32-bit if not cast to an int64. Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
- Loading branch information