mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Suppress sign-conversion warning [ci skip]
This commit is contained in:
parent
c9d433947e
commit
bb7f1619d2
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ RBIMPL_ATTR_CONST()
|
||||||
static inline bool
|
static inline bool
|
||||||
RB_ENC_CODERANGE_CLEAN_P(enum ruby_coderange_type cr)
|
RB_ENC_CODERANGE_CLEAN_P(enum ruby_coderange_type cr)
|
||||||
{
|
{
|
||||||
return rb_enc_coderange_clean_p(cr);
|
return rb_enc_coderange_clean_p(RBIMPL_CAST((int)cr));
|
||||||
}
|
}
|
||||||
|
|
||||||
RBIMPL_ATTR_PURE_UNLESS_DEBUG()
|
RBIMPL_ATTR_PURE_UNLESS_DEBUG()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue