From: Alan Modra Date: Fri, 7 Jun 2002 15:09:21 +0000 (+0000) Subject: * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb95bb9a4e738150793d5fdb094b3ebad025174a;p=binutils-gdb.git * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 01f0bc0159f..f003d9f613d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-06-07 Alan Modra + + * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. + 2002-06-07 Charles Wilson * ld/ldmain.c (main): initialize link_info.pei386_auto_import diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 3c1eb8e88cb..9ce7893b923 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -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; }