summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 2a7028f9..f8d42c78 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -1314,8 +1314,7 @@ void
dwflpp::loc2c_emit_address (void *arg, struct obstack *pool,
Dwarf_Addr address)
{
- dwflpp *dwfl = (dwflpp *) arg;
- dwfl->emit_address (pool, address);
+ static_cast<dwflpp *>(arg)->emit_address (pool, address);
}