1
0
Fork 0
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:
Nobuyoshi Nakada 2021-10-14 01:11:31 +09:00
parent c44f7a6c43
commit 1aa9fcca76
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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);