summaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-15 02:33:03 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-15 02:33:03 +0000
commita6e496565317ba3034de6a23f5956214349cc2c6 (patch)
treef4ff80d2d9ce4e1ab60eef7c10c70d8b3faaea5e /bignum.c
parentec62a3f79da3448e9c5b6b8c2806051e5f73c466 (diff)
downloadruby-a6e496565317ba3034de6a23f5956214349cc2c6.tar.gz
ruby-a6e496565317ba3034de6a23f5956214349cc2c6.tar.xz
ruby-a6e496565317ba3034de6a23f5956214349cc2c6.zip
* eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
yield is not break destination. [ruby-dev:23197] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 237ba96e8..a969fd2e0 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1583,7 +1583,7 @@ rb_big_pow(x, y)
break;
case T_FIXNUM:
- yy = NUM2LONG(y);
+ yy = FIX2LONG(y);
if (yy > 0) {
VALUE z = x;