1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2017-04-06 04:42:41 +00:00
parent e2fc01efa5
commit 2e84bbd441

View file

@ -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 */