* cppiles.c (purge_cache): Use PTR not caddr_t.

From-SVN: r36458
This commit is contained in:
Richard Henderson 2000-09-16 10:48:10 -07:00 committed by Richard Henderson
parent 4faefccb49
commit 6f84c9bdaa
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-09-16 Richard Henderson <rth@cygnus.com>
* cppiles.c (purge_cache): Use PTR not caddr_t.
2000-09-16 Hans-Peter Nilsson <hp@axis.com>
* gcc.c: In description for %{<S}, say the option removed is -S.

View File

@ -364,7 +364,7 @@ purge_cache (inc)
if (inc->buffer)
{
if (inc->mapped)
munmap ((caddr_t) inc->buffer, inc->st.st_size);
munmap ((PTR) inc->buffer, inc->st.st_size);
else
free ((PTR) inc->buffer);
inc->buffer = NULL;