From 9c1e3d00d51e28fa8ffedd56dc326fdc0ffbc6db Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 5 Dec 2007 05:25:58 +0000 Subject: * compile.c (iseq_compile_each): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index d100bad484..36777430f4 100644 --- a/compile.c +++ b/compile.c @@ -3338,7 +3338,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) ADD_SEQ(ret, args); } else { - argc = FIX2INT(0); + argc = INT2FIX(0); } ADD_INSN1(ret, nd_line(node), dupn, INT2FIX(FIX2INT(argc)+1)); ADD_SEND_R(ret, nd_line(node), ID2SYM(idAREF), argc, Qfalse, LONG2FIX(flag)); -- cgit v1.2.3