mirror of
https://github.com/golang/go
synced 2024-11-23 06:00:08 -07:00
strconv: fix a typo
Change-Id: I17911dc95fb2126b41dc95f8839c4b3fa8f35d12
GitHub-Last-Rev: 88e1203293
GitHub-Pull-Request: golang/go#45933
Reviewed-on: https://go-review.googlesource.com/c/go/+/316689
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
e3769299cd
commit
138d2c9b88
@ -143,7 +143,7 @@ func ParseUint(s string, base int, bitSize int) (uint64, error) {
|
||||
|
||||
n1 := n + uint64(d)
|
||||
if n1 < n || n1 > maxVal {
|
||||
// n+v overflows
|
||||
// n+d overflows
|
||||
return maxVal, rangeError(fnParseUint, s0)
|
||||
}
|
||||
n = n1
|
||||
|
Loading…
Reference in New Issue
Block a user