mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove warning about enum and int comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c54868987
commit
470564331d
1 changed files with 1 additions and 1 deletions
2
node.c
2
node.c
|
@ -338,7 +338,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
|
||||||
andor:
|
andor:
|
||||||
while (1) {
|
while (1) {
|
||||||
F_NODE(nd_1st, "left expr");
|
F_NODE(nd_1st, "left expr");
|
||||||
if (!node->nd_2nd || nd_type(node->nd_2nd) != type)
|
if (!node->nd_2nd || nd_type(node->nd_2nd) != (int)type)
|
||||||
break;
|
break;
|
||||||
node = node->nd_2nd;
|
node = node->nd_2nd;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue