elf_swap_symbol_in args should be "const PTR", not "const PTR *".
[deliverable/binutils-gdb.git] / bfd / elf32-m68k.c
index 628096a7f92448f4f6d76630462337dab95825d5..2006652cb3ee6fa21962a9d3bd5357602d9e5ce1 100644 (file)
@@ -2211,8 +2211,8 @@ bfd_m68k_elf32_create_embedded_relocs (abfd, info, datasec, relsec, errmsg)
          /* A local symbol.  */
          esym = extsyms + ELF32_R_SYM (irel->r_info);
          shndx = shndx_buf + (shndx_buf ? ELF32_R_SYM (irel->r_info) : 0);
-         bfd_elf32_swap_symbol_in (abfd, (const PTR *) esym,
-                                   (const PTR *) shndx, &isym);
+         bfd_elf32_swap_symbol_in (abfd, (const PTR) esym, (const PTR) shndx,
+                                   &isym);
 
          targetsec = bfd_section_from_elf_index (abfd, isym.st_shndx);
        }
This page took 0.030113 seconds and 4 git commands to generate.