mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix STATIC_SYM2ID for large ID on IL32LLP64 platforms
This commit is contained in:
parent
c44f7a6c43
commit
1aa9fcca76
1 changed files with 1 additions and 1 deletions
2
symbol.c
2
symbol.c
|
@ -35,7 +35,7 @@
|
|||
|
||||
#define SYMBOL_PINNED_P(sym) (RSYMBOL(sym)->id&~ID_SCOPE_MASK)
|
||||
|
||||
#define STATIC_SYM2ID(sym) RSHIFT((unsigned long)(sym), RUBY_SPECIAL_SHIFT)
|
||||
#define STATIC_SYM2ID(sym) RSHIFT((VALUE)(sym), RUBY_SPECIAL_SHIFT)
|
||||
|
||||
static ID register_static_symid(ID, const char *, long, rb_encoding *);
|
||||
static ID register_static_symid_str(ID, VALUE);
|
||||
|
|
Loading…
Reference in a new issue