Change-Id: I17911dc95fb2126b41dc95f8839c4b3fa8f35d12
GitHub-Last-Rev:
88e120329301bd73db39e1081737a83f49a5672b
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>
n1 := n + uint64(d)
if n1 < n || n1 > maxVal {
- // n+v overflows
+ // n+d overflows
return maxVal, rangeError(fnParseUint, s0)
}
n = n1