diff options
Diffstat (limited to 'reconcile.cc')
-rw-r--r-- | reconcile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reconcile.cc b/reconcile.cc index 12b66c8c..92068227 100644 --- a/reconcile.cc +++ b/reconcile.cc @@ -3,8 +3,8 @@ namespace ledger { -#define xact_next(x) reinterpret_cast<xact_t *>(xact_xdata(*x).ptr) -#define xact_next_ptr(x) reinterpret_cast<xact_t **>(&xact_xdata(*x).ptr) +#define xact_next(x) reinterpret_cast<xact_t *>(x->xdata().ptr) +#define xact_next_ptr(x) reinterpret_cast<xact_t **>(&x->xdata().ptr) static bool search_for_balance(amount_t& amount, xact_t ** prev, xact_t * next) |