diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-08-01 23:00:24 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-08-01 23:00:24 +0000 |
commit | c76becbdce5b2e59546bd576dc72326801d1bda1 (patch) | |
tree | 7882dbf357d62ce86710877e238be23bc7d14283 /gcc/ggc-common.c | |
parent | 93b8a7a857dd21c1960575c00828f1af0883de7f (diff) | |
download | gcc-c76becbdce5b2e59546bd576dc72326801d1bda1.zip gcc-c76becbdce5b2e59546bd576dc72326801d1bda1.tar.gz gcc-c76becbdce5b2e59546bd576dc72326801d1bda1.tar.bz2 |
* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
From-SVN: r70077
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 2848118..6441710 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) |