diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-08 03:59:53 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-08 03:59:53 +0000 |
commit | 470564331d2aadee9b045949c187e28f6a193d78 (patch) | |
tree | 57940e060fb46f67104feb7a15b6c05c22859f92 /node.c | |
parent | 5c5486898786c0035664f1959e3c06e5e2707488 (diff) |
remove warning about enum and int comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -338,7 +338,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node) andor: while (1) { 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; node = node->nd_2nd; } |