From c84956c7a24f4693063346ea9c3f0d78cfa81dd5 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 15 Apr 2000 04:34:14 +0000 Subject: Update. (elf_machine_got_rel): Cast sym correctly. --- sysdeps/mips/dl-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/mips') diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index 5c628ce..965cef9 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -541,7 +541,7 @@ elf_machine_got_rel (struct link_map *map, int lazy) got += n; /* Keep track of the symbol index. */ symidx = map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val; - sym = (void *) D_PTR (map, l_info[DT_SYMTAB]) + symidx; + sym = (ElfW(Sym) *) D_PTR (map, l_info[DT_SYMTAB]) + symidx; i = (map->l_info[DT_MIPS (SYMTABNO)]->d_un.d_val - map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val); -- cgit v1.1