aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 6846f83..a738b11 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -166,7 +166,7 @@ _dl_close (struct link_map *map)
free (imap->l_searchlist.r_list);
if (imap->l_phdr_allocated)
- free (imap->l_phdr);
+ free ((void *) imap->l_phdr);
free (imap);
}