diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-11 11:33:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-11 11:33:53 +0000 |
commit | 391d81e54da735f73d01d9c6955ef205097dacf2 (patch) | |
tree | 9cf3fbc36777c3be05491aff36a712b8c0354af9 | |
parent | 489d6a24e40c396239e9a7f8d9d905cfa80c8fd8 (diff) | |
download | ruby-391d81e54da735f73d01d9c6955ef205097dacf2.tar.gz |
* variable.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | variable.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jan 11 20:32:59 2011 Tanaka Akira <akr@fsij.org> + + * variable.c: parenthesize macro arguments. + Tue Jan 11 13:06:38 2011 NAKAMURA Usaku <usa@ruby-lang.org> * array.c (rb_ary_resize): should care of embeded array when extending diff --git a/variable.c b/variable.c index b372eb2591..ab0cd7b592 100644 --- a/variable.c +++ b/variable.c @@ -1425,7 +1425,7 @@ static const rb_data_type_t autoload_data_type = { }; #define check_autoload_table(av) \ - (struct st_table *)rb_check_typeddata(av, &autoload_data_type) + (struct st_table *)rb_check_typeddata((av), &autoload_data_type) void rb_autoload(VALUE mod, ID id, const char *file) |