summaryrefslogtreecommitdiff
path: root/utils/ldd.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-29 14:59:15 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-29 14:59:15 +0000
commit1a407ee53ffd4aa77a249ae67cb685774ead10f1 (patch)
treeab034e5097a7efc7a4e0b4be448f2dbca708830b /utils/ldd.c
parent68b4b57e17015a5bec318fd62b330028172ac6a9 (diff)
fix signed/unsigned warnings
Diffstat (limited to 'utils/ldd.c')
-rw-r--r--utils/ldd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index dbd2f6de8..c46223a03 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -191,7 +191,7 @@ inline uint64_t byteswap64_to_host(uint64_t value)
# define byteswap_to_host(x) byteswap64_to_host(x)
#endif
-ElfW(Shdr) * elf_find_section_type( int key, ElfW(Ehdr) *ehdr)
+ElfW(Shdr) * elf_find_section_type( uint32_t key, ElfW(Ehdr) *ehdr)
{
int j;
ElfW(Shdr) *shdr;
@@ -204,7 +204,7 @@ ElfW(Shdr) * elf_find_section_type( int key, ElfW(Ehdr) *ehdr)
return NULL;
}
-ElfW(Phdr) * elf_find_phdr_type( int type, ElfW(Ehdr) *ehdr)
+ElfW(Phdr) * elf_find_phdr_type( uint32_t type, ElfW(Ehdr) *ehdr)
{
int j;
ElfW(Phdr) *phdr = (ElfW(Phdr) *)(ehdr->e_phoff + (char *)ehdr);