summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-29 06:09:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-29 06:09:08 +0000
commita3ffe9698b8a8dff25d94b3e7e490f0a01684bfe (patch)
tree6521135a57fcc5508ec052f8725114af7de0b477 /bignum.c
parente15b3c83b880aa2c2f07378095d1eba0214ca468 (diff)
* numeric.c (flo_round): fix for negative value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31778 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 b8e35c2487..efd4bd3106 100644
--- a/bignum.c
+++ b/bignum.c
@@ -1641,7 +1641,7 @@ rb_big_eql(VALUE x, VALUE y)
* Unary minus (returns an integer whose value is 0-big)
*/
-static VALUE
+VALUE
rb_big_uminus(VALUE x)
{
VALUE z = rb_big_clone(x);