aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-02-04 18:47:33 +0000
committerDavid MacKenzie <djm@cygnus>1994-02-04 18:47:33 +0000
commit5d2f7e30c5a6f59137cb330da4de65b58a02bdf5 (patch)
treed8accc91583454cfb4bda0b5daf88da318395cb1 /binutils/objcopy.c
parent81268ac80eab1fe6d621da56123c4dc4f19a6cc8 (diff)
downloadbinutils-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.zip
binutils-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.tar.gz
binutils-5d2f7e30c5a6f59137cb330da4de65b58a02bdf5.tar.bz2
* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
can do arithmetic on it.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 954abb8..690bf8d 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;