diff options
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r-- | gdb/solib-aix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c index d13b651..2b54442 100644 --- a/gdb/solib-aix.c +++ b/gdb/solib-aix.c @@ -643,9 +643,9 @@ solib_aix_bfd_open (const char *pathname) along with appended parenthesized member name in order to allow commands listing all shared libraries to display. Otherwise, we would only be displaying the name of the archive member object. */ - xfree (bfd_get_filename (object_bfd.get ())); + xfree ((char *) bfd_get_filename (object_bfd.get ())); object_bfd->filename = xstrprintf ("%s%s", - bfd_get_filename (archive_bfd.get ()), + bfd_get_filename (archive_bfd.get ()), sep); return object_bfd; |