(xcoff64_core_p): Fix compile time warning assigning a value to return_value.
authorNick Clifton <nickc@redhat.com>
Mon, 18 Apr 2005 12:10:57 +0000 (12:10 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 18 Apr 2005 12:10:57 +0000 (12:10 +0000)
bfd/ChangeLog
bfd/aix5ppc-core.c

index 9b20c92fa171220959465f06a0880155091cd27d..ac1af14885fae05938d336558bbd4144f488dba0 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * aix5ppc-core.c (xcoff64_core_p): Fix compile time warning
+       assigning a value to return_value.
+
 2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 855
index be999bc8879bc4dc4e4cab16df3b6d0229066266..adf081fa9a6351c01b4cd5f31ab7b31a5a4bb67e 100644 (file)
@@ -220,7 +220,7 @@ xcoff64_core_p (abfd)
        }
     }
 
-  return_value = abfd->xvec;   /* This is garbage for now.  */
+  return_value = (bfd_target *) abfd->xvec;    /* This is garbage for now.  */
 
  xcoff64_core_p_error:
   if (bfd_get_error () != bfd_error_system_call)