diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 626557cb45..a253a222de 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -8,7 +8,7 @@ **********************************************************************/ -#include "ruby/config.h" +#include "ruby/3/config.h" #include <math.h> @@ -22,7 +22,6 @@ #include "internal/proc.h" #include "internal/random.h" #include "internal/variable.h" -#include "ruby/config.h" #include "variable.h" /* finish iseq array */ @@ -3213,7 +3212,7 @@ vm_search_super_method(const rb_control_frame_t *reg_cfp, struct rb_call_data *c static const struct rb_callcache *empty_cc_for_super = NULL; if (empty_cc_for_super == NULL) { empty_cc_for_super = vm_cc_new(0, NULL, vm_call_super_method); - FL_SET_RAW(empty_cc_for_super, VM_CALLCACHE_UNMARKABLE); + FL_SET_RAW((VALUE)empty_cc_for_super, VM_CALLCACHE_UNMARKABLE); rb_gc_register_mark_object((VALUE)empty_cc_for_super); } RB_OBJ_WRITE(reg_cfp->iseq, &cd->cc, empty_cc_for_super); |