diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 5a0a14c8..4e5004a2 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -260,7 +260,7 @@ void xact_t::add_to_value(value_t& value, expr_t& expr) if (! xdata_ || ! xdata_->has_flags(XACT_EXT_NO_TOTAL)) { bind_scope_t bound_scope(*expr.get_context(), *this); if (value.is_null()) - value = amount_t(); + value = amount_t(0L); value += expr.calc(bound_scope); } |