Commit 1b70b614 authored by Russ Cox's avatar Russ Cox

big: fix build - start with zero in scanN

R=gri, eds
CC=golang-dev
https://golang.org/cl/947042
parent d7b48515
......@@ -432,7 +432,7 @@ func scanN(z []Word, s string, base int) ([]Word, int, int) {
}
// convert string
z = makeN(z, len(z), false)
z = z[0:0]
for ; i < n; i++ {
d := hexValue(s[i])
if 0 <= d && d < base {
......
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