aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
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);