aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-07 15:09:21 +0000
committerAlan Modra <amodra@gmail.com>2002-06-07 15:09:21 +0000
commiteb95bb9a4e738150793d5fdb094b3ebad025174a (patch)
tree75ec9ec24719e3d62203df8feaab2505c05e24f2 /ld/emultempl
parent9bab7074b06e5c0661db3ec95c584ff221fc61ec (diff)
downloadgdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.zip
gdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.tar.gz
gdb-eb95bb9a4e738150793d5fdb094b3ebad025174a.tar.bz2
* emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
Diffstat (limited to 'ld/emultempl')
-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;
}