aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-08 03:59:53 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-08 03:59:53 +0000
commit5aa49b7d8698e2b35eaaae6ac4eab02ed7e8c95c (patch)
tree57940e060fb46f67104feb7a15b6c05c22859f92 /node.c
parentbe244e9dbf98b109059e5e25ba025499b2edf995 (diff)
downloadruby-5aa49b7d8698e2b35eaaae6ac4eab02ed7e8c95c.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index c5bdc39f68..3418db7fe2 100644
--- a/node.c
+++ b/node.c
@@ -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;
}