From a3ffe9698b8a8dff25d94b3e7e490f0a01684bfe Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 29 May 2011 06:09:08 +0000 Subject: * 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 --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bignum.c') 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); -- cgit v1.2.3