diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cppfiles.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a407372..c581bdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 7f5c731..6b99b61 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -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; |