]> gcc.gnu.org Git - gcc.git/commitdiff
* 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 a407372a5e8f22b414230b560920465f25344204..c581bdf197cf2d19e5581d5944834d1e3c7b2845 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 7f5c731c40375f916c307d013d7ca19a6a60662c..6b99b616e0629415a434cedb333958f72662f815 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;
This page took 0.073003 seconds and 5 git commands to generate.