]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_dl_close): Add cast to avoid warning about const incorrectness.
authorUlrich Drepper <drepper@redhat.com>
Mon, 17 May 1999 09:56:54 +0000 (09:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 17 May 1999 09:56:54 +0000 (09:56 +0000)
elf/dl-close.c

index 6846f83a8d9fdeae5eab1720b9c64e76c878f127..a738b11d50547981919c0c98c5758b7e270cd5ae 100644 (file)
@@ -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);
        }