aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-06-10 12:55:34 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-06-10 12:55:34 +0000
commite7aae3e8dfb1b09c77c86877ec1acfd19ce386ea (patch)
tree3fa897891d2c7b5e9023a1a99895867d6bf5ffef /gcc/gcc.c
parentc244bf8f9f4d9de03b894af3b2b92b5a16f37359 (diff)
downloadgcc-e7aae3e8dfb1b09c77c86877ec1acfd19ce386ea.zip
gcc-e7aae3e8dfb1b09c77c86877ec1acfd19ce386ea.tar.gz
gcc-e7aae3e8dfb1b09c77c86877ec1acfd19ce386ea.tar.bz2
* gcc.c (compare_files): Cast munmap argumento to caddr_t.
From-SVN: r148346
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index d652530..f1dcc42 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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;