From 2fab242f668d719b319d155e3bfad2987117dd29 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 15 Mar 2004 02:27:29 +0000 Subject: * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this yield is not break destination. [ruby-dev:23197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bignum.c') diff --git a/bignum.c b/bignum.c index 027384076d..f247d8f1a5 100644 --- a/bignum.c +++ b/bignum.c @@ -1599,7 +1599,7 @@ rb_big_pow(x, y) break; case T_FIXNUM: - yy = NUM2LONG(y); + yy = FIX2LONG(y); if (yy > 0) { VALUE z = x; -- cgit v1.2.3