summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/ldd.c2
-rw-r--r--utils/readelf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index c46223a03..ff1ec4a85 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -217,7 +217,7 @@ ElfW(Phdr) * elf_find_phdr_type( uint32_t type, ElfW(Ehdr) *ehdr)
}
/* Returns value if return_val==1, ptr otherwise */
-void * elf_find_dynamic(int const key, ElfW(Dyn) *dynp,
+void * elf_find_dynamic( int64_t const key, ElfW(Dyn) *dynp,
ElfW(Ehdr) *ehdr, int return_val)
{
ElfW(Phdr) *pt_text = elf_find_phdr_type(PT_LOAD, ehdr);
diff --git a/utils/readelf.c b/utils/readelf.c
index f538fdec0..b8b23224b 100644
--- a/utils/readelf.c
+++ b/utils/readelf.c
@@ -89,7 +89,7 @@ ElfW(Phdr) * elf_find_phdr_type( uint32_t type, ElfW(Ehdr) *ehdr)
}
/* Returns value if return_val==1, ptr otherwise */
-void * elf_find_dynamic(int const key, ElfW(Dyn) *dynp,
+void * elf_find_dynamic( int64_t const key, ElfW(Dyn) *dynp,
ElfW(Ehdr) *ehdr, int return_val)
{
ElfW(Phdr) *pt_text = elf_find_phdr_type(PT_LOAD, ehdr);