mirror of
https://github.com/golang/go
synced 2024-11-22 12:24:47 -07:00
fix typo causing infinite recursion
R=rsc OCL=17398 CL=17398
This commit is contained in:
parent
5fe4cd83a8
commit
35eebcacc8
@ -163,7 +163,7 @@ export func atol(s string) (i int64, ok bool) {
|
||||
}
|
||||
|
||||
export func atoi(s string) (i int, ok bool) {
|
||||
ii, okok := atoi(s);
|
||||
ii, okok := atol(s);
|
||||
i = int32(ii);
|
||||
return i, okok
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user