daily update
[deliverable/binutils-gdb.git] / bfd / elf32-bfin.c
index 7cfefd7c82b7ab220bda8d5acaad1faddde3f377..c1a1b7443a1d0342ca94664fbcf5ec3de28b4207 100644 (file)
@@ -2764,7 +2764,7 @@ bfd_bfin_elf32_create_embedded_relocs (
       bfd_put_32 (abfd, irel->r_offset + datasec->output_offset, p);
       memset (p + 4, 0, 8);
       if (targetsec != NULL)
-       strncpy (p + 4, targetsec->output_section->name, 8);
+       strncpy ((char *) p + 4, targetsec->output_section->name, 8);
     }
 
   if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf)
This page took 0.023544 seconds and 4 git commands to generate.