summaryrefslogtreecommitdiff
path: root/re.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 22:29:10 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 22:29:10 +0000
commitc8914f256e8a10603e3283494e3ac9308f8c8df6 (patch)
treea4dcd042e0310e537626c3c4fc85b3d5f56bcfd3 /re.h
parent4e5325fe1f8ca173cbd4875379cd6da61abb6a50 (diff)
merge revision(s) 31312:
* re.h (RMATCH_REGS): parenthesize cast expression. suggested from Nikolai Weibull in [ruby-core:35825]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@31664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.h')
-rw-r--r--re.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.h b/re.h
index e87651a81c..75087ea1f7 100644
--- a/re.h
+++ b/re.h
@@ -27,7 +27,7 @@ struct RMatch {
};
#define RMATCH(obj) (R_CAST(RMatch)(obj))
-#define RMATCH_REGS(obj) (R_CAST(RMatch)(obj)->regs)
+#define RMATCH_REGS(obj) (R_MATCH(obj)->regs)
VALUE rb_reg_regcomp _((VALUE));
long rb_reg_search _((VALUE, VALUE, long, long));