summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-15 12:56:15 -0700
committerJosh Stone <jistone@redhat.com>2009-05-15 12:56:15 -0700
commitc94efd6357211094fce035d7435efe971bdf5ae1 (patch)
tree9ab650a3d0965f14c7f2e0df90c9ab1058669827
parentaa214f4bf19e711e01998a07b390934c1b027f74 (diff)
downloadsystemtap-steved-c94efd6357211094fce035d7435efe971bdf5ae1.tar.gz
systemtap-steved-c94efd6357211094fce035d7435efe971bdf5ae1.tar.xz
systemtap-steved-c94efd6357211094fce035d7435efe971bdf5ae1.zip
Don't shadow dwlfpp::dwfl in loc2c_emit_address
-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);
}