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

This commit is contained in:
Kazuki Tsujimoto
2012-05-20 12:35:15 +09:00
parent c8b679bf69
commit db196c5128
+1 -1
View File
@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p)
}
}
else {
if ((int)tree->car == NODE_SCOPE) {
if ((int)(intptr_t)tree->car == NODE_SCOPE) {
p->locals = cons(tree->cdr->car, 0);
}
if (p->begin_tree) {