diff options
author | obrien <obrien@FreeBSD.org> | 2002-12-02 09:06:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-12-02 09:06:04 +0000 |
commit | 4f4b0b5073010ff850cc95a6bd074066eeb7dccb (patch) | |
tree | b6de1df6076881154726637e90c9d9bae94bab79 /contrib/binutils/bfd/archive.c | |
parent | 70d0c6024ff722929b55e70683c5bb4bd3d3b07f (diff) | |
download | FreeBSD-src-4f4b0b5073010ff850cc95a6bd074066eeb7dccb.zip FreeBSD-src-4f4b0b5073010ff850cc95a6bd074066eeb7dccb.tar.gz |
Import of Binutils from the FSF 2.13 branch (just pre-.2 release).
These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST.
Diffstat (limited to 'contrib/binutils/bfd/archive.c')
-rw-r--r-- | contrib/binutils/bfd/archive.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/binutils/bfd/archive.c b/contrib/binutils/bfd/archive.c index d7ac214..b051e2a 100644 --- a/contrib/binutils/bfd/archive.c +++ b/contrib/binutils/bfd/archive.c @@ -436,12 +436,12 @@ _bfd_generic_read_ar_hdr_mag (abfd, mag) spaces, so only look for ' ' if we don't find '/'. */ char *e; - e = memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd)); if (e == NULL) { - e = memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)); if (e == NULL) - e = memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd)); + e = (char *) memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd)); } if (e != NULL) |