mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
fix typo causing infinite recursion
R=rsc OCL=17398 CL=17398
This commit is contained in:
parent
5fe4cd83a8
commit
35eebcacc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue