aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ppc64elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r--ld/emultempl/ppc64elf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em
index 3c1eb8e..9ce7893 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;
}