for gcc/ChangeLog from Alexandre Oliva * gcc.c (compare_files): Cast munmap argumento to caddr_t. Index: gcc/gcc.c =================================================================== --- gcc/gcc.c.orig 2009-06-08 04:45:28.000000000 -0300 +++ gcc/gcc.c 2009-06-10 04:17:33.000000000 -0300 @@ -6632,7 +6632,7 @@ compare_files (char *cmpfile[]) for (i = 0; i < 2; i++) if (map[i]) - munmap (map[i], length[i]); + munmap ((caddr_t) map[i], length[i]); if (ret >= 0) return ret;