From eb95bb9a4e738150793d5fdb094b3ebad025174a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 7 Jun 2002 15:09:21 +0000 Subject: [PATCH] * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. --- ld/ChangeLog | 4 ++++ ld/emultempl/ppc64elf.em | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.30.2