]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/line-map.c
alias.c [...]: Remove unnecessary casts.
[thirdparty/gcc.git] / gcc / line-map.c
index 1023b9132ebb46a77e46cb991848b6f86bc85c29..897af21b1a5ce17956fa7e555f5ad0aaea93b8d8 100644 (file)
@@ -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++];