Commit ef86beb4 authored by Rob Pike's avatar Rob Pike

encoding/binary: fix 32-bit build

Sigh.

R=golang-dev
CC=golang-dev
https://golang.org/cl/12491045
parent c0465d03
......@@ -164,9 +164,9 @@ func TestSliceRoundTrip(t *testing.T) {
}
for i := 0; i < src.Len(); i++ {
if unsigned {
src.Index(i).SetUint(uint64(i * 0x87654321))
src.Index(i).SetUint(uint64(i * 0x07654321))
} else {
src.Index(i).SetInt(int64(i * 0x87654321))
src.Index(i).SetInt(int64(i * 0x07654321))
}
}
buf.Reset()
......
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