diff options
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) |