Commit df6f917d authored by Kazuki Tsujimoto's avatar Kazuki Tsujimoto

Fix wrong cast

parent db196c51
......@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p)
}
}
else {
if ((int)(intptr_t)tree->car == NODE_SCOPE) {
if ((intptr_t)tree->car == NODE_SCOPE) {
p->locals = cons(tree->cdr->car, 0);
}
if (p->begin_tree) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment