summaryrefslogtreecommitdiff
path: root/ext/socket/raddrinfo.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-28 20:20:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-28 20:20:33 +0000
commitd8ac44fcfcf730535df82a402bd7c97267b56d61 (patch)
treea40d1318509fe5d0af5a271190c979db898ab3f8 /ext/socket/raddrinfo.c
parent1c2b0f4f8f160154aa9a954ba59a4b308036e276 (diff)
* ext/socket/raddrinfo.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/raddrinfo.c')
-rw-r--r--ext/socket/raddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c
index 6d2a5e9..8cd25f0 100644
--- a/ext/socket/raddrinfo.c
+++ b/ext/socket/raddrinfo.c
@@ -545,7 +545,7 @@ addrinfo_s_allocate(VALUE klass)
return TypedData_Wrap_Struct(klass, &addrinfo_type, 0);
}
-#define IS_ADDRINFO(obj) rb_typeddata_is_kind_of(obj, &addrinfo_type)
+#define IS_ADDRINFO(obj) rb_typeddata_is_kind_of((obj), &addrinfo_type)
static inline rb_addrinfo_t *
check_addrinfo(VALUE self)
{