mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user