diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-16 17:48:10 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-16 17:48:10 +0000 |
commit | daad55a5fee70e2e8743ead5a95c20faead82727 (patch) | |
tree | 9989a3c6ebf1cf99ee5eb29a8498d1dfce532a6d /gcc | |
parent | bc189ccb73216f77730a4d41f13791b0dd7655e3 (diff) | |
download | ppe42-gcc-daad55a5fee70e2e8743ead5a95c20faead82727.tar.gz ppe42-gcc-daad55a5fee70e2e8743ead5a95c20faead82727.zip |
* cppiles.c (purge_cache): Use PTR not caddr_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 a407372a5e8..c581bdf197c 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 7f5c731c403..6b99b616e06 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; |