Commit e7aae3e8 by Alexandre Oliva Committed by Alexandre Oliva

* gcc.c (compare_files): Cast munmap argumento to caddr_t.

From-SVN: r148346
parent c244bf8f
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> 2009-06-10 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Add description for __builtin_ia32_crc32di. * doc/extend.texi: Add description for __builtin_ia32_crc32di.
......
...@@ -6632,7 +6632,7 @@ compare_files (char *cmpfile[]) ...@@ -6632,7 +6632,7 @@ compare_files (char *cmpfile[])
for (i = 0; i < 2; i++) for (i = 0; i < 2; i++)
if (map[i]) if (map[i])
munmap (map[i], length[i]); munmap ((caddr_t) map[i], length[i]);
if (ret >= 0) if (ret >= 0)
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment