diff options
-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) |