summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
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++;