about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-17 09:56:54 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-17 09:56:54 +0000
commit15925412407840399fbc6ca2ab49ad92d3369896 (patch)
treee516dee68c71d45317d2a021c1f869e18bbb5353 /elf
parent2d547a959ee436238997c501e5ce029af5dbf249 (diff)
downloadglibc-15925412407840399fbc6ca2ab49ad92d3369896.tar.gz
glibc-15925412407840399fbc6ca2ab49ad92d3369896.tar.xz
glibc-15925412407840399fbc6ca2ab49ad92d3369896.zip
(_dl_close): Add cast to avoid warning about const incorrectness.
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 6846f83a8d..a738b11d50 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);
 	}