summaryrefslogtreecommitdiff
path: root/utils/ldd.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-30 06:10:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-30 06:10:22 +0000
commite564f1896716789c2121320f9e6992e35d469f09 (patch)
tree5b8b3e24d970286065d145926848996256d6d6c8 /utils/ldd.c
parent3321ce7506bb752862e8f23c3404495bc88ddfcc (diff)
need to make sure elf_find_dynamic(key) is big enough to handle 64bit hosts
Diffstat (limited to 'utils/ldd.c')
-rw-r--r--utils/ldd.c2
1 files changed, 1 insertions, 1 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);