From: Ulrich Drepper Date: Mon, 17 May 1999 09:56:54 +0000 (+0000) Subject: (_dl_close): Add cast to avoid warning about const incorrectness. X-Git-Tag: cvs/glibc-2_1_1~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15925412407840399fbc6ca2ab49ad92d3369896;p=platform%2Fupstream%2Fglibc.git (_dl_close): Add cast to avoid warning about const incorrectness. --- 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); }