* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we

can do arithmetic on it.
This commit is contained in:
David MacKenzie 1994-02-04 18:47:33 +00:00
parent 81268ac80e
commit 5d2f7e30c5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
can do arithmetic on it.
Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com) Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* objdump.c (dump_section_stabs, read_section_stabs, * objdump.c (dump_section_stabs, read_section_stabs,

View File

@ -212,7 +212,7 @@ filter_symbols (abfd, osyms, isyms, symcount)
void void
filter_bytes (memhunk, size) filter_bytes (memhunk, size)
PTR memhunk; char *memhunk;
bfd_size_type *size; bfd_size_type *size;
{ {
char *from = memhunk + copy_byte, *to = memhunk, *end = memhunk + *size; char *from = memhunk + copy_byte, *to = memhunk, *end = memhunk + *size;