summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kldxref/ef.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kldxref/ef.c')
-rw-r--r--usr.sbin/kldxref/ef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/kldxref/ef.c b/usr.sbin/kldxref/ef.c
index c6751c9..276771d 100644
--- a/usr.sbin/kldxref/ef.c
+++ b/usr.sbin/kldxref/ef.c
@@ -92,7 +92,7 @@ static int ef_seg_read_entry(elf_file_t ef, Elf_Off offset, size_t len,
void **ptr);
static int ef_seg_read_entry_rel(elf_file_t ef, Elf_Off offset, size_t len,
void **ptr);
-static Elf_Addr ef_symaddr(elf_file_t ef, Elf_Word symidx);
+static Elf_Addr ef_symaddr(elf_file_t ef, Elf_Size symidx);
static int ef_lookup_set(elf_file_t ef, const char *name, long *startp,
long *stopp, long *countp);
static int ef_lookup_symbol(elf_file_t ef, const char* name, Elf_Sym** sym);
@@ -246,7 +246,7 @@ out:
}
static Elf_Addr
-ef_symaddr(elf_file_t ef, Elf_Word symidx)
+ef_symaddr(elf_file_t ef, Elf_Size symidx)
{
const Elf_Sym *sym;
OpenPOWER on IntegriCloud