avoid compiler warnings
authorDavid D. Zuhn <zoo@cygnus>
Fri, 2 Oct 1992 00:52:49 +0000 (00:52 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Fri, 2 Oct 1992 00:52:49 +0000 (00:52 +0000)
bfd/ChangeLog
bfd/seclet.c

index 8afbf79a60f1465111a7e8a95ce0978bc8293572..10dbfe7eea3d01a88e727771a2f784203dbd6221 100644 (file)
@@ -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
index c791dff39d81bedb3bfaabcf015f00eae9596342..d95a8448356a54b0efadcaf9db565307300235c5 100644 (file)
@@ -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,