daily update
[deliverable/binutils-gdb.git] / bfd / targets.c
index ce0130938f9c4d92f60468fa6e0ad7cee7b9d43b..a33790bcbe67ff7c2e3080a4a65913c30e5c7c51 100644 (file)
@@ -1,6 +1,6 @@
 /* Generic target-file-type support for the BFD library.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -1455,7 +1455,7 @@ bfd_target_list (void)
     vec_length++;
 
   amt = (vec_length + 1) * sizeof (char **);
-  name_ptr = name_list = bfd_malloc (amt);
+  name_ptr = name_list = (const  char **) bfd_malloc (amt);
 
   if (name_list == NULL)
     return NULL;
This page took 0.023237 seconds and 4 git commands to generate.