diff --git a/src/strconv/itoa.go b/src/strconv/itoa.go index e6f6303356b..f50d8779408 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) }