зеркало из https://github.com/github/ruby.git
Fix FL_USER19
* include/ruby/ruby.h: cast via `unsigned int` explicitly, to get rid of signed extension by implicit integer promotion.
This commit is contained in:
Родитель
4515bcc922
Коммит
1bd60c66d3
|
@ -1304,7 +1304,7 @@ int rb_big_sign(VALUE);
|
|||
#define FL_USER16 ((VALUE)RUBY_FL_USER16)
|
||||
#define FL_USER17 ((VALUE)RUBY_FL_USER17)
|
||||
#define FL_USER18 ((VALUE)RUBY_FL_USER18)
|
||||
#define FL_USER19 ((VALUE)RUBY_FL_USER19)
|
||||
#define FL_USER19 ((VALUE)(unsigned int)RUBY_FL_USER19)
|
||||
|
||||
#define RB_SPECIAL_CONST_P(x) (RB_IMMEDIATE_P(x) || !RB_TEST(x))
|
||||
#define SPECIAL_CONST_P(x) RB_SPECIAL_CONST_P(x)
|
||||
|
|
Загрузка…
Ссылка в новой задаче