diff options
author | Roland McGrath <roland@redhat.com> | 2009-09-17 15:02:34 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-09-17 15:02:34 -0700 |
commit | 7e0aecdad525d8b290e2b9b999f6960a42bee33d (patch) | |
tree | 49fc7d7d7890e4ad7ae8318b3a8ffb9addf3947f /libdw/dwarf_getlocation.c | |
parent | 1d0480a443c663d2fb0bdd61258fdb9c797b896a (diff) |
Small tweak for dwarf_getlocation_implicit_value; NEWS item for it.
Diffstat (limited to 'libdw/dwarf_getlocation.c')
-rw-r--r-- | libdw/dwarf_getlocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdw/dwarf_getlocation.c b/libdw/dwarf_getlocation.c index c3b7f3dc..17df8fe9 100644 --- a/libdw/dwarf_getlocation.c +++ b/libdw/dwarf_getlocation.c @@ -129,13 +129,13 @@ store_implicit_value (Dwarf *dbg, void **cache, Dwarf_Op *op, int dwarf_getlocation_implicit_value (attr, op, return_block) Dwarf_Attribute *attr; - Dwarf_Op *op; + const Dwarf_Op *op; Dwarf_Block *return_block; { if (attr == NULL) return -1; - struct loc_block_s fake = { .addr = op }; + struct loc_block_s fake = { .addr = (void *) op }; struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare); if (unlikely (found == NULL)) { |