Merge pull request #168 from k-tsj/add-cast

Add cast to remove "cast from pointer to integer of different size" warning
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-05-20 06:08:12 -07:00
+1 -1
View File
@@ -4647,7 +4647,7 @@ mrb_parser_parse(parser_state *p)
}
}
else {
if ((int)tree->car == NODE_SCOPE) {
if ((intptr_t)tree->car == NODE_SCOPE) {
p->locals = cons(tree->cdr->car, 0);
}
if (p->begin_tree) {