summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
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 845428b787..f275d5eda2 100644
--- a/re.c
+++ b/re.c
@@ -783,7 +783,7 @@ rb_reg_new_1(klass, s, len, options)
VALUE
rb_reg_new(s, len, options)
const char *s;
- int len;
+ long len;
int options;
{
return rb_reg_new_1(rb_cRegexp, s, len, options);