aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b8a8813..2af6cb30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-10 Alexandre Oliva <aoliva@redhat.com>
+
+ * gcc.c (compare_files): Cast munmap argumento to caddr_t.
+
2009-06-10 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Add description for __builtin_ia32_crc32di.
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;