From: Robert Griesemer Date: Thu, 10 Sep 2015 21:10:23 +0000 (-0700) Subject: strconv: fix comment X-Git-Tag: go1.6beta1~1111 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=63ee321059478e5744dc9c21946e764abc3c0eb3;p=gostls13.git strconv: fix comment Fixes #12531. Change-Id: I66dc7ac1b71b8f72b4a8f3ec18befa2607ef358b Reviewed-on: https://go-review.googlesource.com/14494 Reviewed-by: Rob Pike --- diff --git a/src/strconv/itoa.go b/src/strconv/itoa.go index e6f6303356..f50d877940 100644 --- a/src/strconv/itoa.go +++ b/src/strconv/itoa.go @@ -20,7 +20,7 @@ func FormatInt(i int64, base int) string { return s } -// Itoa is shorthand for FormatInt(i, 10). +// Itoa is shorthand for FormatInt(int64(i), 10). func Itoa(i int) string { return FormatInt(int64(i), 10) }