diff options
author | Richard Stallman <rms@gnu.org> | 1992-06-18 19:27:56 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-06-18 19:27:56 +0000 |
commit | 7c0891a18faee70439f8fbe903f499f198af43c3 (patch) | |
tree | 00a1e8cd45aa12841887178bdd018f3bb20f24e5 /gcc | |
parent | 035ffcc64991f4b56e425d1f89fc76deddaf1b15 (diff) | |
download | gcc-7c0891a18faee70439f8fbe903f499f198af43c3.zip gcc-7c0891a18faee70439f8fbe903f499f198af43c3.tar.gz gcc-7c0891a18faee70439f8fbe903f499f198af43c3.tar.bz2 |
*** empty log message ***
From-SVN: r1212
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/collect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index f0b14be..fe1eefd 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1384,7 +1384,7 @@ scan_prog_file (prog_name, which_pass) if (rw) { load_union_t *ptr = (load_union_t *) xmalloc (load_hdr->hdr.ldci_cmd_size); - bcopy (load_hdr, ptr, load_hdr->hdr.ldci_cmd_size); + bcopy ((generic *)load_hdr, (generic *)ptr, load_hdr->hdr.ldci_cmd_size); load_hdr = ptr; /* null out old command map, because we will rewrite at the end. */ @@ -1567,7 +1567,7 @@ scan_prog_file (prog_name, which_pass) if (debug) print_load_command (load_hdr, offset, i); - bcopy (load_hdr, obj + offset, size); + bcopy ((generic *)load_hdr, (generic *)(obj + offset), size); offset += size; } } |