summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'walk.cc')
-rw-r--r--walk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/walk.cc b/walk.cc
index 6acd86dd..5cadf1d6 100644
--- a/walk.cc
+++ b/walk.cc
@@ -44,7 +44,7 @@ xact_xdata_t& xact_xdata(const xact_t& xact)
{
if (! xact.data)
xact.data = new xact_xdata_t();
- return *((xact_xdata_t *) xact.data);
+ return *static_cast<xact_xdata_t *>(xact.data);
}
void add_xact_to(const xact_t& xact, value_t& value)
@@ -887,7 +887,7 @@ account_xdata_t& account_xdata(const account_t& account)
if (! account.data)
account.data = new account_xdata_t();
- return *((account_xdata_t *) account.data);
+ return *static_cast<account_xdata_t *>(account.data);
}
void sum_accounts(account_t& account)