From c94efd6357211094fce035d7435efe971bdf5ae1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 15 May 2009 12:56:15 -0700 Subject: Don't shadow dwlfpp::dwfl in loc2c_emit_address --- dwflpp.cxx | 3 +-- 1 file changed, 1 insertion(+), 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(arg)->emit_address (pool, address); } -- cgit