summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 06:35:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 06:35:26 +0000
commit34033db665f806bf37f142171c391c739a9f5409 (patch)
tree5bd0f9b6b7c7697c69357d142c28049747eb21ba /re.c
parentb89cbf192b09dcdd6df6256a0c8d61e17664e2ad (diff)
* intern.h, re.c (rb_memsearch): returns long.
* string.c (rb_str_index): should return offset position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 4b8c821..8b5a97c 100644
--- a/re.c
+++ b/re.c
@@ -96,7 +96,7 @@ rb_memcmp(p1, p2, len)
return rb_memcicmp(p1, p2, len);
}
-int
+long
rb_memsearch(x0, m, y0, n)
char *x0, *y0;
long m, n;