From 63ee321059478e5744dc9c21946e764abc3c0eb3 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 10 Sep 2015 14:10:23 -0700 Subject: [PATCH] strconv: fix comment Fixes #12531. Change-Id: I66dc7ac1b71b8f72b4a8f3ec18befa2607ef358b Reviewed-on: https://go-review.googlesource.com/14494 Reviewed-by: Rob Pike --- src/strconv/itoa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.48.1