diff options
-rw-r--r-- | Userland/DynamicLoader/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DynamicLoader/main.cpp b/Userland/DynamicLoader/main.cpp index 6a027c0832..e9e07a575d 100644 --- a/Userland/DynamicLoader/main.cpp +++ b/Userland/DynamicLoader/main.cpp @@ -37,7 +37,7 @@ static void perform_self_relocations(auxv_t* auxvp) VERIFY(found_base_address); ElfW(Ehdr)* header = (ElfW(Ehdr)*)(base_address); ElfW(Phdr)* pheader = (ElfW(Phdr)*)(base_address + header->e_phoff); - u32 dynamic_section_addr = 0; + FlatPtr dynamic_section_addr = 0; for (size_t i = 0; i < (size_t)header->e_phnum; ++i, ++pheader) { if (pheader->p_type != PT_DYNAMIC) continue; |