summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 02:46:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 02:46:16 +0000
commitdf54a2e6be074957bcd1c19b4b9d19766da445de (patch)
tree4d1ae3a000d91dafbc2a7a31913a9939f7de94a5 /node.c
parente2f2cf425c2802980d02f07075b1f7320bad305a (diff)
* cont.c (fiber_set_stack_location), iseq.c (prepare_iseq_build),
node.c (dump_node): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27808 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 e7d3c4c..65bc541 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);
});