summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'walk.cc')
-rw-r--r--walk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk.cc b/walk.cc
index 34888a8c..75917388 100644
--- a/walk.cc
+++ b/walk.cc
@@ -230,7 +230,7 @@ void handle_value(const value_t& value,
// fall through...
case value_t::AMOUNT:
- xact.amount = temp.as_amount_lval();
+ xact.amount = temp.as_amount();
break;
case value_t::BALANCE: