aboutsummaryrefslogtreecommitdiffstats
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
commitfca91c375128b06919c3110f2b855d6833c7d2ef (patch)
tree9b2364cae52f3baa7fea0e48822c7ad30d01ef45 /internal.h
parent658669ee7b96bed3c99e421f28ccf8a89b131c2d (diff)
downloadruby-fca91c375128b06919c3110f2b855d6833c7d2ef.tar.gz
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 */