From 5d2f7e30c5a6f59137cb330da4de65b58a02bdf5 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Fri, 4 Feb 1994 18:47:33 +0000 Subject: [PATCH] * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we can do arithmetic on it. --- binutils/ChangeLog | 5 +++++ binutils/objcopy.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e9ad30caa6f..a69713cc683 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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) * objdump.c (dump_section_stabs, read_section_stabs, diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 954abb8e054..690bf8d0987 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -212,7 +212,7 @@ filter_symbols (abfd, osyms, isyms, symcount) void filter_bytes (memhunk, size) - PTR memhunk; + char *memhunk; bfd_size_type *size; { char *from = memhunk + copy_byte, *to = memhunk, *end = memhunk + *size; -- 2.30.2