]> Cypherpunks repositories - gostls13.git/commit
runtime: fix 32 bit build.
authorKeith Randall <khr@golang.org>
Thu, 31 Jul 2014 20:07:16 +0000 (13:07 -0700)
committerKeith Randall <khr@golang.org>
Thu, 31 Jul 2014 20:07:16 +0000 (13:07 -0700)
commit53304558f95660233be1259b817fb1ca4693279d
tree1a0edf5c90c6c1564bd396735f29993667285a5a
parentcc9ec52d739ec3c9f2a3e9bfdcc98643bee61cca
runtime: fix 32 bit build.

int(maxMem) is negative on 32 bits.  Need to use
unsigned arithmetic.

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/121000045
src/pkg/runtime/slice.go