summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-21 04:21:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-21 04:21:17 +0000
commit5ffa959d8945f4ba4526029858acecdeb49ba23a (patch)
tree64d847d60f0e9bf8da19ec386c506dcf75348ca6 /bignum.c
parent8ef02ad9dd81189d96cfd439a8ed16961174b208 (diff)
* bignum.c (rb_big2str): t should be protected from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1437 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 ecb26a7604..3159d143c7 100644
--- a/bignum.c
+++ b/bignum.c
@@ -363,7 +363,7 @@ rb_big2str(x, base)
VALUE x;
int base;
{
- VALUE t;
+ volatile VALUE t;
BDIGIT *ds;
long i, j, hbase;
VALUE ss;