summaryrefslogtreecommitdiff
path: root/reconcile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'reconcile.cc')
-rw-r--r--reconcile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/reconcile.cc b/reconcile.cc
index 5d979251..d83eb37a 100644
--- a/reconcile.cc
+++ b/reconcile.cc
@@ -3,8 +3,8 @@
namespace ledger {
-#define xact_next(x) ((xact_t *)xact_xdata(*x).ptr)
-#define xact_next_ptr(x) ((xact_t **)&xact_xdata(*x).ptr)
+#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)
static bool search_for_balance(amount_t& amount,
xact_t ** prev, xact_t * next)