diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-08-01 23:00:24 +0000 |
---|---|---|
committer | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-08-01 23:00:24 +0000 |
commit | 3e7b144591c2d4ac72c5e7199ab56704b8e2203c (patch) | |
tree | 7882dbf357d62ce86710877e238be23bc7d14283 /gcc/ggc-common.c | |
parent | 01f420e75a73eab96a6a569e27e70c08cd1746f3 (diff) |
* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@70077 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 284811878de..6441710e689 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -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) |