1
0
mirror of https://github.com/golang/go synced 2024-11-26 13:58:48 -07:00

fix typo causing infinite recursion

R=rsc
OCL=17398
CL=17398
This commit is contained in:
Rob Pike 2008-10-17 17:59:27 -07:00
parent 5fe4cd83a8
commit 35eebcacc8

View File

@ -163,7 +163,7 @@ export func atol(s string) (i int64, ok bool) {
} }
export func atoi(s string) (i int, ok bool) { export func atoi(s string) (i int, ok bool) {
ii, okok := atoi(s); ii, okok := atol(s);
i = int32(ii); i = int32(ii);
return i, okok return i, okok
} }