summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 04:42:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 04:42:41 +0000
commit2e84bbd441c3069ae6f7103455abe5c90b767e73 (patch)
tree9b2364cae52f3baa7fea0e48822c7ad30d01ef45 /internal.h
parente2fc01efa54a8df00c19de0b7f9dfc2f26e62e86 (diff)
internal.h: parenthesize macro argument
* internal.h (THROW_DATA_P): parenthesize the argument which is casted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 50c1691c38..993b0266ed 100644
--- a/internal.h
+++ b/internal.h
@@ -887,7 +887,7 @@ struct vm_throw_data {
VALUE throw_state;
};
-#define THROW_DATA_P(err) RB_TYPE_P(((VALUE)err), T_IMEMO)
+#define THROW_DATA_P(err) RB_TYPE_P((VALUE)(err), T_IMEMO)
/* IFUNC */