diff options
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 75db02c3b7..58506d6d59 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -858,7 +858,7 @@ BigDecimal_mult2(VALUE self, VALUE b, VALUE n) ENTER(2); Real *cv; U_LONG mx = (U_LONG)GetPositiveInt(n); - if(mx==0) BigDecimal_mult(self,b); + if(mx==0) return BigDecimal_mult(self,b); else { U_LONG pl = VpSetPrecLimit(0); VALUE c = BigDecimal_mult(self,b); |