aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-10-25 17:37:37 -0300
committerJemma Issroff <jemmaissroff@gmail.com>2023-10-25 18:18:35 -0300
commitb5f6e2a7c4c5119d9518a51e37d94418ec8f55f6 (patch)
tree7f427f71a73594b3eb0d1bfa11372226f75a7da8 /compile.c
parent8f71a5c53007b072341775e4161ec20b50ffc538 (diff)
downloadruby-b5f6e2a7c4c5119d9518a51e37d94418ec8f55f6.tar.gz
[PRISM] ScopeNode doesn't need void * anymore
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 4b36e4ebd1..df258da772 100644
--- a/compile.c
+++ b/compile.c
@@ -984,7 +984,7 @@ rb_iseq_compile_prism_node(rb_iseq_t * iseq, pm_scope_node_t *scope_node, pm_par
constants[index] = rb_intern3((const char *) constant->start, constant->length, encoding);
}
- scope_node->constants = (void *)constants;
+ scope_node->constants = constants;
CHECK(rb_translate_prism(iseq, scope_node, ret));
free(constants);