diff options
author | Derek Mauro <761129+derekmauro@users.noreply.github.com> | 2021-11-03 11:26:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 11:26:14 -0400 |
commit | 215105818dfde3174fe799600bb0f3cae233d0bf (patch) | |
tree | 31e81a015ea03486225ffa4d71c3f2dc6ff8d2dc | |
parent | 6a72279e5181acb50c679f075845b06d459238dd (diff) |
Fix Android build of elf_mem_image.cc (#1052)20211102.rc220211102.0
-rw-r--r-- | absl/debugging/internal/elf_mem_image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/debugging/internal/elf_mem_image.cc b/absl/debugging/internal/elf_mem_image.cc index d6832eaf..29a28181 100644 --- a/absl/debugging/internal/elf_mem_image.cc +++ b/absl/debugging/internal/elf_mem_image.cc @@ -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); |