mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added parentheses to silence sizeof-array-div warnings [Bug #17385]
As well as 2366c68116
.
This commit is contained in:
parent
52bca75cde
commit
68af523529
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
/** @cond INTERNAL_MACRO */
|
/** @cond INTERNAL_MACRO */
|
||||||
#define RBIMPL_EMBED_LEN_MAX_OF(T) \
|
#define RBIMPL_EMBED_LEN_MAX_OF(T) \
|
||||||
RBIMPL_CAST((int)(sizeof(VALUE[RVALUE_EMBED_LEN_MAX]) / sizeof(T)))
|
RBIMPL_CAST((int)(sizeof(VALUE[RVALUE_EMBED_LEN_MAX]) / (sizeof(T))))
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
enum ruby_rvalue_flags { RVALUE_EMBED_LEN_MAX = 3 };
|
enum ruby_rvalue_flags { RVALUE_EMBED_LEN_MAX = 3 };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue