summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-20 07:31:55 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-20 07:31:55 +0000
commit39563af99459820ada08e30e379c84b4560c3fe9 (patch)
tree5844d64e2d5e0b5a7b9dfc259037778db84b12aa /re.c
parent8f54a9b4704e5416290a5670519ae7bc869de0e8 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/re.c b/re.c
index a69cf1c..bb9898f 100644
--- a/re.c
+++ b/re.c
@@ -73,7 +73,7 @@ static const char casetable[] = {
int
rb_memcmp(p1, p2, len)
char *p1, *p2;
- size_t len;
+ long len;
{
int tmp;
@@ -1054,7 +1054,7 @@ rb_reg_s_quote(argc, argv)
for (; s < send; s++) {
if (ismbchar(*s)) {
- size_t n = mbclen(*s);
+ int n = mbclen(*s);
while (n-- && s < send)
*t++ = *s++;