* ext/socket/ipsocket.c: parenthesize macro arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-03-27 14:16:50 +00:00
parent 1f1c31e355
commit 94a5335148
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sun Mar 27 23:16:31 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/ipsocket.c: parenthesize macro arguments.
Sun Mar 27 16:55:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> Sun Mar 27 16:55:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode-map): remove unnecessary * misc/ruby-mode.el (ruby-mode-map): remove unnecessary

View File

@ -139,7 +139,7 @@ static ID id_numeric, id_hostname;
int int
rsock_revlookup_flag(VALUE revlookup, int *norevlookup) rsock_revlookup_flag(VALUE revlookup, int *norevlookup)
{ {
#define return_norevlookup(x) {*norevlookup = x; return 1;} #define return_norevlookup(x) {*norevlookup = (x); return 1;}
ID id; ID id;
switch (revlookup) { switch (revlookup) {