summaryrefslogtreecommitdiff
path: root/libgo/go/strconv/itoa.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/strconv/itoa.go')
-rw-r--r--libgo/go/strconv/itoa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/strconv/itoa.go b/libgo/go/strconv/itoa.go
index e6f6303356b..f50d8779408 100644
--- a/libgo/go/strconv/itoa.go
+++ b/libgo/go/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)
}