Commit 6d2d4ba9 authored by Russ Cox's avatar Russ Cox

sort: fix 32-bit build

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/10856043
parent 0286b473
......@@ -504,7 +504,7 @@ func countOps(t *testing.T, algo func(Interface), name string) {
desc: name,
t: t,
data: make([]int, n),
maxswap: 1 << 31,
maxswap: 1<<31 - 1,
}
for i := 0; i < n; i++ {
td.data[i] = rand.Intn(n / 5)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment