diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/st.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Apr 12 20:54:12 2011 Tanaka Akira <akr@fsij.org> + + * include/ruby/st.h: parenthesize macro arguments. + Tue Apr 12 19:19:50 2011 NARUSE, Yui <naruse@ruby-lang.org> * lib/uri/common.rb: avoid race condition. fixes #4572 diff --git a/include/ruby/st.h b/include/ruby/st.h index 960b1bde6a..50f2a75328 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -95,7 +95,7 @@ struct st_table { struct st_table_entry *head, *tail; }; -#define st_is_member(table,key) st_lookup(table,key,(st_data_t *)0) +#define st_is_member(table,key) st_lookup((table),(key),(st_data_t *)0) enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK}; |