diff options
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index cdd00388d4..d1aa56c121 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -110,7 +110,7 @@ rb_rational_num(VALUE rat) #ifdef HAVE_TYPE_STRUCT_RRATIONAL return RRATIONAL(rat)->num; #else - return rb_funcall(rat, rb_intern("numerator")); + return rb_funcall(rat, rb_intern("numerator"), 0); #endif } #endif @@ -122,7 +122,7 @@ rb_rational_den(VALUE rat) #ifdef HAVE_TYPE_STRUCT_RRATIONAL return RRATIONAL(rat)->den; #else - return rb_funcall(rat, rb_intern("denominator")); + return rb_funcall(rat, rb_intern("denominator"), 0); #endif } #endif |