From df54a2e6be074957bcd1c19b4b9d19766da445de Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 16 May 2010 02:46:16 +0000 Subject: * 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 --- node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.c') 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); }); -- cgit v1.2.3