aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
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;
}