bfd_get_filename
[deliverable/binutils-gdb.git] / gdb / solib-darwin.c
index 443ebb64a47da2135d2165cbc48facbfa4a253ba..3dd30d2aa3c003a2385e9714117ba8364be05734 100644 (file)
@@ -670,7 +670,7 @@ darwin_bfd_open (const char *pathname)
   /* The current filename for fat-binary BFDs is a name generated
      by BFD, usually a string containing the name of the architecture.
      Reset its value to the actual filename.  */
-  xfree (bfd_get_filename (res.get ()));
+  xfree ((char *) bfd_get_filename (res.get ()));
   res->filename = xstrdup (pathname);
 
   return res;
This page took 0.036799 seconds and 4 git commands to generate.