Debian Codegraph @

debian/patches/disable-32-bit-overflow.patch

raw
1 --- a/ipaddr/test/macaddrtest.go
2 +++ b/ipaddr/test/macaddrtest.go
3 @@ -579,7 +579,8 @@
4 t.testMACValues([]int{1, 2, 3, 4, 5, 6, 7, 8}, "72623859790382856")
5 t.testMACValues(sixZeros[:], "0")
6 t.testMACValues(eightZeros[:], "0")
7 - t.testMACValues([]int{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, strconv.Itoa(0xffffffffffff))
8 + forty8 := new(big.Int).SetUint64(0xffffffffffff)
9 + t.testMACValuesBig([]int{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, forty8.String(), "-1")
10
11 sixty4 := new(big.Int).SetUint64(0xffffffffffffffff)
12 //BigInteger thirtyTwo = BigInteger.valueOf(0xffffffffL);