diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-12 11:54:28 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-12 11:54:28 +0000 |
commit | 77a12692eeb0a2204b740dfece9f3015975af3be (patch) | |
tree | 3b0ac777930cfea17eb9ddaffd32f0bd4a794933 | |
parent | 8553b70a39bf4707cee6d667fc5903f09bf0a525 (diff) | |
download | ruby-77a12692eeb0a2204b740dfece9f3015975af3be.tar.gz |
* include/ruby/st.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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}; |