diff --git a/ChangeLog b/ChangeLog index 2e0aaec6ec..527ea6382d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Dec 19 19:15:23 2010 Tanaka Akira + + * marshal.c: parenthesize macro arguments. + Sat Dec 18 21:52:37 2010 Kazuhiro NISHIYAMA * vsnprintf.c (BSD_vfprintf): suppress warning: "_WIN32" is not diff --git a/marshal.c b/marshal.c index 0df199adb6..2a61b78448 100644 --- a/marshal.c +++ b/marshal.c @@ -25,7 +25,7 @@ #define BITSPERSHORT (2*CHAR_BIT) #define SHORTMASK ((1<data->num_entries, arg) +#define r_entry(v, arg) r_entry0((v), (arg)->data->num_entries, (arg)) static VALUE r_entry0(VALUE v, st_index_t num, struct load_arg *arg); static VALUE r_object(struct load_arg *arg); static ID r_symbol(struct load_arg *arg);