summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-30 09:23:04 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-30 09:23:04 +0000
commit5ce73b510ea1b0379ad6644d3db6239584cb9cad (patch)
treee815d25063629120209c835eda58bf54328c551e /complex.c
parent58398d5106d2f56e30d112fdbafe472a1beaf387 (diff)
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
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*