aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1992-10-02 00:52:49 +0000
committerDavid D. Zuhn <zoo@cygnus>1992-10-02 00:52:49 +0000
commit2652a49c499dc28df9e7506162faaebc371f7ba7 (patch)
tree1395d346efb17814fc38dd2e5fa249194eb36a7e
parent93282e61398111d4b5da995f46cf5493dba47153 (diff)
downloadfsf-binutils-gdb-2652a49c499dc28df9e7506162faaebc371f7ba7.zip
fsf-binutils-gdb-2652a49c499dc28df9e7506162faaebc371f7ba7.tar.gz
fsf-binutils-gdb-2652a49c499dc28df9e7506162faaebc371f7ba7.tar.bz2
avoid compiler warnings
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/seclet.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8afbf79..10dbfe7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 1 17:51:07 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * seclet.c: cast result of bfd_get_relocated_section_contents to
+ avoid compiler warnings
+
Tue Sep 29 13:24:09 1992 Ken Raeburn (raeburn@cygnus.com)
* coffcode.h (coff_section_symbol): Create section if it doesn't
diff --git a/bfd/seclet.c b/bfd/seclet.c
index c791dff..d95a844 100644
--- a/bfd/seclet.c
+++ b/bfd/seclet.c
@@ -83,7 +83,7 @@ DEFUN(rel,(abfd, seclet, output_section, data),
&& !(output_section->flags & SEC_NEVER_LOAD)
&& seclet->size)
{
- data = bfd_get_relocated_section_contents(abfd, seclet, data);
+ data = (PTR) bfd_get_relocated_section_contents(abfd, seclet, data);
if(bfd_set_section_contents(abfd,
output_section,
data,