From: Ulrich Drepper Date: Mon, 5 Oct 1998 10:00:09 +0000 (+0000) Subject: (_dl_unload_cache): Cast first argument of munmap. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b0d7dad7233c771cc3ff9a3a58fdcc33911d6ee;p=thirdparty%2Fglibc.git (_dl_unload_cache): Cast first argument of munmap. --- diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c index 7522b3e886b..2a09050fb7b 100644 --- a/sysdeps/generic/dl-cache.c +++ b/sysdeps/generic/dl-cache.c @@ -19,6 +19,7 @@ #include #include +#include #include /* 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; } }