mirror of
https://github.com/golang/go
synced 2024-11-24 20:20:03 -07:00
sort: fix 32-bit build
TBR=golang-dev CC=golang-dev https://golang.org/cl/10856043
This commit is contained in:
parent
0286b4738e
commit
6d2d4ba94f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user