diff options
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index c5ca644230..96a2656f87 100644 --- a/vm_method.c +++ b/vm_method.c @@ -671,7 +671,7 @@ MJIT_FUNC_EXPORTED void rb_add_method_iseq(VALUE klass, ID mid, const rb_iseq_t *iseq, rb_cref_t *cref, rb_method_visibility_t visi) { struct { /* should be same fields with rb_method_iseq_struct */ - const rb_iseq_t *iseqptr; + rb_iseq_t *iseqptr; rb_cref_t *cref; } iseq_body; |