Commit db196c51 authored by Kazuki Tsujimoto's avatar Kazuki Tsujimoto

Add cast to remove "cast from pointer to integer of different size" warning

parent c8b679bf
...@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p) ...@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p)
} }
} }
else { else {
if ((int)tree->car == NODE_SCOPE) { if ((int)(intptr_t)tree->car == NODE_SCOPE) {
p->locals = cons(tree->cdr->car, 0); p->locals = cons(tree->cdr->car, 0);
} }
if (p->begin_tree) { 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