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 e7d3c4cd34..65bc541ed8 100644
--- a/node.c
+++ b/node.c
@@ -501,7 +501,7 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
F_CUSTOM1(nd_nth, "variable", {
char name[3];
name[0] = '$';
- name[1] = node->nd_nth;
+ name[1] = (char)node->nd_nth;
name[2] = '\0';
A(name);
});