Skip to content

Commit

Permalink
Fix Android build of elf_mem_image.cc (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmauro authored Nov 3, 2021
1 parent 6a72279 commit 2151058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/debugging/internal/elf_mem_image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ void ElfMemImage::Init(const void *base) {
reinterpret_cast<ElfW(Dyn) *>(dynamic_program_header->p_vaddr +
relocation);
for (; dynamic_entry->d_tag != DT_NULL; ++dynamic_entry) {
const ElfW(Xword) value = dynamic_entry->d_un.d_val + relocation;
const auto value = dynamic_entry->d_un.d_val + relocation;
switch (dynamic_entry->d_tag) {
case DT_HASH:
hash_ = reinterpret_cast<ElfW(Word) *>(value);
Expand Down

0 comments on commit 2151058

Please sign in to comment.