Commit c76becbd by Rainer Orth Committed by Rainer Orth

* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.

From-SVN: r70077
parent 93b8a7a8
2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
......
......@@ -588,7 +588,7 @@ gt_pch_restore (FILE *f)
fileno (f), mmi.offset);
/* The file might not be mmap-able. */
needs_read = mmap_result == MAP_FAILED;
needs_read = mmap_result == (void *) MAP_FAILED;
/* Sanity check for broken MAP_FIXED. */
if (! needs_read && mmap_result != mmi.preferred_base)
......
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