summaryrefslogtreecommitdiff
path: root/gcc/line-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/line-map.c')
-rw-r--r--gcc/line-map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/line-map.c b/gcc/line-map.c
index 1023b9132eb..897af21b1a5 100644
--- a/gcc/line-map.c
+++ b/gcc/line-map.c
@@ -80,8 +80,7 @@ add_line_map (struct line_maps *set, enum lc_reason reason,
if (set->used == set->allocated)
{
set->allocated = 2 * set->allocated + 256;
- set->maps = (struct line_map *)
- xrealloc (set->maps, set->allocated * sizeof (struct line_map));
+ set->maps = xrealloc (set->maps, set->allocated * sizeof (struct line_map));
}
map = &set->maps[set->used++];