aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/re.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/re.h b/include/ruby/re.h
index 6fd0609e7a..3b8c6c5d74 100644
--- a/include/ruby/re.h
+++ b/include/ruby/re.h
@@ -37,9 +37,9 @@ struct RMatch {
#define RMATCH(obj) (R_CAST(RMatch)(obj))
VALUE rb_reg_regcomp(VALUE);
-long rb_reg_search(VALUE, VALUE, long, long);
+int rb_reg_search(VALUE, VALUE, int, int);
VALUE rb_reg_regsub(VALUE, VALUE, struct re_registers *, VALUE);
-long rb_reg_adjust_startpos(VALUE, VALUE, long, long);
+int rb_reg_adjust_startpos(VALUE, VALUE, int, int);
void rb_match_busy(VALUE);
VALUE rb_reg_quote(VALUE);