diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-31 11:08:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-31 11:08:05 +0900 |
commit | 13e84d5c0a53ad013aa0093f179115bcf88417e9 (patch) | |
tree | 936bc22c4cd56e0c60106761686020ff01ff962b /internal.h | |
parent | e315f3a1341f123051b75e589b746132c3510079 (diff) |
Moved RHASH_LEV_MASK and turned into a macro
Get rid of "ISO C restricts enumerator values to range of 'int'"
error.
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/internal.h b/internal.h index 1203f1798e..1dbb3d3862 100644 --- a/internal.h +++ b/internal.h @@ -827,8 +827,6 @@ enum ruby_rhash_flags { RHASH_TRANSIENT_FLAG = FL_USER12, /* FL 12 */ #endif - RHASH_LEV_MASK = (FL_USER13 | FL_USER14 | FL_USER15 | /* FL 13..19 */ - FL_USER16 | FL_USER17 | FL_USER18 | FL_USER19), RHASH_LEV_SHIFT = (FL_USHIFT + 13), RHASH_LEV_MAX = 127, /* 7 bits */ |