summaryrefslogtreecommitdiff
path: root/libgo/runtime/string.goc
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/string.goc')
-rw-r--r--libgo/runtime/string.goc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/string.goc b/libgo/runtime/string.goc
index d3f0c2d4b9c..240ab0ba5e4 100644
--- a/libgo/runtime/string.goc
+++ b/libgo/runtime/string.goc
@@ -54,7 +54,7 @@ func stringiter(s String, k int) (retk int) {
out:
}
-func stringiter2(s String, k int) (retk int, retv int) {
+func stringiter2(s String, k int) (retk int, retv int32) {
if(k >= s.len) {
// retk=0 is end of iteration
retk = 0;