From 65682175e14855a3fe16e1c2636b8cb2dffa7610 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 4 Mar 2006 15:06:52 +0000 Subject: *** no comment *** --- amount.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amount.cc b/amount.cc index 9de94b9b..1fe2ecdd 100644 --- a/amount.cc +++ b/amount.cc @@ -437,10 +437,10 @@ amount_t& amount_t::operator/=(const amount_t& amt) // Increase the value's precision, to capture fractional parts after // the divide. - mpz_ui_pow_ui(divisor, 10, amt.quantity->prec + 6); + mpz_ui_pow_ui(divisor, 10, amt.quantity->prec + 6U); mpz_mul(MPZ(quantity), MPZ(quantity), divisor); mpz_tdiv_q(MPZ(quantity), MPZ(quantity), MPZ(amt.quantity)); - quantity->prec += 6; + quantity->prec += 6U; unsigned int comm_prec = commodity().precision; if (quantity->prec > comm_prec + 6U) { -- cgit v1.2.3