Fix compiling large files
* line-map.c (new_linemap): Make alloc_size a size_t. From-SVN: r234239
This commit is contained in:
parent
6585b2e2dd
commit
64567cfd1d
@ -1,3 +1,7 @@
|
||||
2016-03-15 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* line-map.c (new_linemap): Make alloc_size a size_t.
|
||||
|
||||
2016-03-14 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* expr.c (cpp_classify_number): Hex floats are new in C++1z.
|
||||
|
@ -376,7 +376,7 @@ new_linemap (struct line_maps *set,
|
||||
if (LINEMAPS_USED (set, macro_map_p) == LINEMAPS_ALLOCATED (set, macro_map_p))
|
||||
{
|
||||
/* We ran out of allocated line maps. Let's allocate more. */
|
||||
unsigned alloc_size;
|
||||
size_t alloc_size;
|
||||
|
||||
/* Cast away extern "C" from the type of xrealloc. */
|
||||
line_map_realloc reallocator = (set->reallocator
|
||||
|
Loading…
Reference in New Issue
Block a user