Suppress sign-conversion warning [ci skip]
This commit is contained in:
parent
c9d433947e
commit
bb7f1619d2
@ -79,7 +79,7 @@ RBIMPL_ATTR_CONST()
|
||||
static inline bool
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user