From 5ce73b510ea1b0379ad6644d3db6239584cb9cad Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 30 Nov 2011 09:23:04 +0000 Subject: merge revision(s) r33613: * complex.c (nucomp_rationalize): fix function. [ruby-core:40667] [Bug #5546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'complex.c') diff --git a/complex.c b/complex.c index a701129b73..1617054816 100644 --- a/complex.c +++ b/complex.c @@ -1374,7 +1374,7 @@ nucomp_rationalize(int argc, VALUE *argv, VALUE self) rb_raise(rb_eRangeError, "can't convert %s into Rational", StringValuePtr(s)); } - return rb_funcall(dat->real, rb_intern("rationalize"), argc, argv); + return rb_funcall2(dat->real, rb_intern("rationalize"), argc, argv); } /* -- cgit v1.2.3