* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
authorAlan Modra <amodra@gmail.com>
Fri, 7 Jun 2002 15:09:21 +0000 (15:09 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 7 Jun 2002 15:09:21 +0000 (15:09 +0000)
ld/ChangeLog
ld/emultempl/ppc64elf.em

index 01f0bc0159f028cbdd56af0dae21399468aa8662..f003d9f613dc837e9639a686e7555107a9ec7c2b 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
+
 2002-06-07  Charles Wilson  <cwilson@ece.gatech.edu>
 
        * ld/ldmain.c (main): initialize link_info.pei386_auto_import
index 3c1eb8e88cbd0eaeddc338bc3714d24938dfb5d6..9ce7893b923bb047179f082a673998220b26ef49 100644 (file)
@@ -349,7 +349,7 @@ gld${EMULATION_NAME}_new_vers_pattern (entry)
              && next->match == entry->match)
            {
              next = entry->next;
-             free (entry->pattern);
+             free ((char *) entry->pattern);
              free (entry);
              return next;
            }