diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-06-10 12:55:34 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2009-06-10 12:55:34 +0000 |
commit | e7aae3e8dfb1b09c77c86877ec1acfd19ce386ea (patch) | |
tree | 3fa897891d2c7b5e9023a1a99895867d6bf5ffef /gcc | |
parent | c244bf8f9f4d9de03b894af3b2b92b5a16f37359 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 2 |
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. @@ -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; |