diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-18 12:10:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-18 12:10:57 +0000 |
commit | 7cefacd39796c75e82cb3f3be53847d66acd8d41 (patch) | |
tree | 380ed12cfa901bcbac79e40ed5ac34934f5f346f | |
parent | 278d8f3760411958ca7d67c4d87128ae1b6f4a60 (diff) | |
download | gdb-7cefacd39796c75e82cb3f3be53847d66acd8d41.zip gdb-7cefacd39796c75e82cb3f3be53847d66acd8d41.tar.gz gdb-7cefacd39796c75e82cb3f3be53847d66acd8d41.tar.bz2 |
(xcoff64_core_p): Fix compile time warning assigning a value to return_value.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/aix5ppc-core.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9b20c92..ac1af14 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/aix5ppc-core.c b/bfd/aix5ppc-core.c index be999bc..adf081f 100644 --- a/bfd/aix5ppc-core.c +++ b/bfd/aix5ppc-core.c @@ -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) |