* cppiles.c (purge_cache): Use PTR not caddr_t.
authorRichard Henderson <rth@cygnus.com>
Sat, 16 Sep 2000 17:48:10 +0000 (10:48 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 16 Sep 2000 17:48:10 +0000 (10:48 -0700)
From-SVN: r36458

gcc/ChangeLog
gcc/cppfiles.c

index a407372..c581bdf 100644 (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.
index 7f5c731..6b99b61 100644 (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;