From 1a407ee53ffd4aa77a249ae67cb685774ead10f1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 29 Dec 2005 14:59:15 +0000 Subject: fix signed/unsigned warnings --- utils/readelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/readelf.c') diff --git a/utils/readelf.c b/utils/readelf.c index c7516ef4f..f538fdec0 100644 --- a/utils/readelf.c +++ b/utils/readelf.c @@ -64,7 +64,7 @@ inline uint64_t byteswap64_to_host(uint64_t value) # define byteswap_to_host(x) byteswap32_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 = (ElfW(Shdr) *)(ehdr->e_shoff + (char *)ehdr); @@ -76,7 +76,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); -- cgit v1.2.3