(_dl_unload_cache): Cast first argument of munmap.

This commit is contained in:
Ulrich Drepper 1998-10-05 10:00:09 +00:00
parent d61137008f
commit 3b0d7dad72

View File

@ -19,6 +19,7 @@
#include <link.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/mman.h>
/* System-dependent function to read a file's whole contents
@ -114,7 +115,7 @@ _dl_unload_cache (void)
{
if (cache != NULL && cache != (struct cache_file *) -1)
{
__munmap (cache, cachesize);
__munmap ((caddr_t) cache, cachesize);
cache = NULL;
}
}