runtime: fix integer overflow
The problem happens when end=0, then end-1 is very big number. Observed with the new scheduler. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7307073
Showing
Please
register
or
sign in
to comment
The problem happens when end=0, then end-1 is very big number. Observed with the new scheduler. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7307073